From 981b46e47d26506659d57b1d7ee1b22dba6fa00a Mon Sep 17 00:00:00 2001 From: Andrew Belt Date: Mon, 9 Apr 2018 20:17:59 -0400 Subject: [PATCH] Update builds --- manifests/FrozenWasteland.json | 4 ++-- manifests/Koralfx-Modules.json | 7 +++++-- manifests/Ohmer.json | 4 ++-- manifests/Qwelk.json | 7 +++++-- scripts/build_updates.py | 23 +++++++++++------------ 5 files changed, 25 insertions(+), 20 deletions(-) diff --git a/manifests/FrozenWasteland.json b/manifests/FrozenWasteland.json index 53de1751..b44ab128 100644 --- a/manifests/FrozenWasteland.json +++ b/manifests/FrozenWasteland.json @@ -5,8 +5,8 @@ "manualUrl": "https://github.com/almostEric/FrozenWasteland/blob/master/README.md", "sourceUrl": "https://github.com/almostEric/FrozenWasteland", "donateUrl": "https://paypal.me/FrozenWasteland", - "latestVersion": "0.6.3", + "latestVersion": "0.6.4", "status": "available", "repoVersion": "0.6.4", - "buildTimestamp": 1522881009 + "buildTimestamp": 1523319164 } \ No newline at end of file diff --git a/manifests/Koralfx-Modules.json b/manifests/Koralfx-Modules.json index 32aa1905..9f04964e 100644 --- a/manifests/Koralfx-Modules.json +++ b/manifests/Koralfx-Modules.json @@ -6,5 +6,8 @@ "sourceUrl": "https://github.com/koralfx/Koralfx-Modules/", "manualUrl": "https://github.com/koralfx/Koralfx-Modules/blob/master/README.md", "donateUrl": "https://www.paypal.me/koralfx/", - "repoVersion": "0.6.7" -} + "repoVersion": "0.6.7", + "latestVersion": "0.6.7", + "buildTimestamp": 1523318775, + "status": "available" +} \ No newline at end of file diff --git a/manifests/Ohmer.json b/manifests/Ohmer.json index 1eb60b6a..8b1e2f1d 100644 --- a/manifests/Ohmer.json +++ b/manifests/Ohmer.json @@ -6,8 +6,8 @@ "manualUrl": "https://github.com/DomiKamu/Ohmer-Modules/blob/master/README.md", "sourceUrl": "https://github.com/DomiKamu/Ohmer-Modules", "donateUrl": "https://www.paypal.me/DominiqueCAMUS", - "latestVersion": "0.6.2", + "latestVersion": "0.6.3", "repoVersion": "0.6.3", "status": "available", - "buildTimestamp": 1522751360 + "buildTimestamp": 1523319082 } \ No newline at end of file diff --git a/manifests/Qwelk.json b/manifests/Qwelk.json index 604bc875..cea6b8f2 100644 --- a/manifests/Qwelk.json +++ b/manifests/Qwelk.json @@ -4,5 +4,8 @@ "license": "MIT", "manualUrl": "https://github.com/raincheque/qwelk/blob/master/README.md", "sourceUrl": "https://github.com/raincheque/qwelk", - "repoVersion": "0.6.0" -} + "repoVersion": "0.6.0", + "latestVersion": "0.6.0", + "buildTimestamp": 1523319042, + "status": "available" +} \ No newline at end of file diff --git a/scripts/build_updates.py b/scripts/build_updates.py index 3660d5c5..ee9406f9 100644 --- a/scripts/build_updates.py +++ b/scripts/build_updates.py @@ -4,31 +4,30 @@ import time import os +def system(cmd): + if os.system(cmd): + raise Exception(f"Failed command: {cmd}") + + def build_mac(slug): env = f'CC=x86_64-apple-darwin15-clang CXX=x86_64-apple-darwin15-clang++-libc++ STRIP=x86_64-apple-darwin15-strip RACK_DIR=../../Rack-SDK' make = f'{env} make -j$(nproc) -C repos/{slug}' - if os.system(f'{make} clean'): - raise Exception(f"Could not clean Mac build of {slug}") - if os.system(f'{make} dist'): - raise Exception(f"Could not make Mac build of {slug}") + system(f'{make} clean') + system(f'{make} dist') def build_win(slug): env = f'CC=x86_64-w64-mingw32-gcc CXX=x86_64-w64-mingw32-g++ STRIP=x86_64-w64-mingw32-strip RACK_DIR=../../Rack-SDK' make = f'{env} make -j$(nproc) -C repos/{slug}' - if os.system(f'{make} clean'): - raise Exception(f"Could not clean Windows build of {slug}") - if os.system(f'{make} dist'): - raise Exception(f"Could not make Windows build of {slug}") + system(f'{make} clean') + system(f'{make} dist') def build_lin(slug): env = f'-e RACK_DIR=../../Rack-SDK' make = f'make -j$(nproc) -C repos/{slug}' - if os.system(f'docker run --rm -v $(pwd):/mnt -u vortico {env} a0b9c87ec456 {make} clean'): - raise Exception(f"Could not clean Linux build of {slug}") - if os.system(f'docker run --rm -v $(pwd):/mnt -u vortico {env} a0b9c87ec456 {make} dist'): - raise Exception(f"Could not make Linux build of {slug}") + system(f'docker run --rm -v $(pwd):/mnt -u vortico {env} a0b9c87ec456 {make} clean') + system(f'docker run --rm -v $(pwd):/mnt -u vortico {env} a0b9c87ec456 {make} dist') def move_package(slug):