From 90eaf82fa4f79c0c1c492f6c7c18392dcba49b9e Mon Sep 17 00:00:00 2001 From: Andrew Belt Date: Fri, 20 Jul 2018 03:23:01 -0400 Subject: [PATCH] Update build --- manifests/AudibleInstrumentsPreview.json | 6 +++--- scripts/build_updates.py | 11 ++++++++--- 2 files changed, 11 insertions(+), 6 deletions(-) diff --git a/manifests/AudibleInstrumentsPreview.json b/manifests/AudibleInstrumentsPreview.json index c886a7b5..badc9806 100644 --- a/manifests/AudibleInstrumentsPreview.json +++ b/manifests/AudibleInstrumentsPreview.json @@ -6,9 +6,9 @@ "authorUrl": "https://vcvrack.com/", "authorEmail": "contact@vcvrack.com", "manualUrl": "https://vcvrack.com/AudibleInstruments.html#preview", - "repoVersion": "0.6.0", + "repoVersion": "0.6.1", "productId": "1288416624683", - "buildTimestamp": 1527593840, + "buildTimestamp": 1532071253, "status": "available", - "latestVersion": "0.6.0" + "latestVersion": "0.6.1" } \ No newline at end of file diff --git a/scripts/build_updates.py b/scripts/build_updates.py index 798b3d13..7cb4bc66 100644 --- a/scripts/build_updates.py +++ b/scripts/build_updates.py @@ -6,10 +6,16 @@ import time import build_plugin +plugin_dirs = sys.argv[1:] + +if not plugin_dirs: + plugin_dirs = glob.glob("repos/*") + built_slugs = [] -for manifest_filename in glob.glob("manifests/*.json"): - slug = os.path.basename(manifest_filename).split('.')[0] +for plugin_dir in plugin_dirs: + slug = os.path.basename(plugin_dir) + manifest_filename = f"manifests/{slug}.json" with open(manifest_filename, "r") as f: manifest = json.load(f) @@ -21,7 +27,6 @@ for manifest_filename in glob.glob("manifests/*.json"): continue # Build repo - plugin_dir = f"repos/{slug}" success = build_plugin.build(plugin_dir) if not success: print(f"{slug} failed")