mirror of
https://github.com/SquidDev-CC/CC-Tweaked
synced 2024-11-19 00:04:53 +00:00
Add 1.18.x support
Also install node modules if needed
This commit is contained in:
parent
822445717d
commit
dbc8c18b34
3
.gitignore
vendored
3
.gitignore
vendored
@ -1,4 +1,7 @@
|
||||
# Minecraft/loader versions
|
||||
/mc-*
|
||||
|
||||
# Build output
|
||||
/.idea
|
||||
/.gradle
|
||||
/logs
|
||||
|
7
go4it
7
go4it
@ -33,7 +33,7 @@ class Branch:
|
||||
BRANCHES: List[Branch] = [
|
||||
Branch('mc-1.16.x'),
|
||||
Branch('mc-1.17.x', parent='mc-1.16.x', java="16"),
|
||||
# Branch('mc-fabric-1.17.x', parent='mc-1.17.x', java="16"),
|
||||
Branch('mc-1.18.x', parent='mc-1.17.x', java="17"),
|
||||
]
|
||||
|
||||
|
||||
@ -97,6 +97,11 @@ def setup() -> None:
|
||||
with open("build.gradle", "w") as h:
|
||||
pass
|
||||
|
||||
log("Installing npm packages")
|
||||
for branch in BRANCHES:
|
||||
if not os.path.isdir(os.path.join(branch.name, "node_module")):
|
||||
run_in(branch, "npm", "ci")
|
||||
|
||||
|
||||
def gen_runs() -> None:
|
||||
"""
|
||||
|
Loading…
Reference in New Issue
Block a user