1
0
mirror of https://github.com/SquidDev-CC/CC-Tweaked synced 2024-10-01 08:20:47 +00:00

Update build/release script

- No more 1.15.x
 - Run ./gradlew build under xvfb-run
This commit is contained in:
Jonathan Coates 2021-08-22 18:06:40 +01:00
parent 1be9a9df22
commit ad36166f50
No known key found for this signature in database
GPG Key ID: B9E431FF07C98D06

5
go4it
View File

@ -31,8 +31,7 @@ class Branch:
BRANCHES: List[Branch] = [
Branch('mc-1.15.x'),
Branch('mc-1.16.x', parent='mc-1.15.x'),
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"),
]
@ -193,7 +192,7 @@ def build() -> None:
for branch in BRANCHES:
log(f"Building {branch.name}")
ret = run_in(branch, "./gradlew", "build", "--no-daemon").returncode
ret = run_in(branch, "xvfb-run", "./gradlew", "build", "--no-daemon").returncode
if ret != 0:
log(f"Build failed")
sys.exit(ret)