From b44e1d2ca5fc32b43fce962cac4660781723c5aa Mon Sep 17 00:00:00 2001 From: Stephen Stack Date: Sun, 27 Nov 2016 15:01:25 -0600 Subject: [PATCH] bundle: make sure to update sumbodules each build --- scripts/bundle.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/scripts/bundle.py b/scripts/bundle.py index a3760c7..f255d0d 100755 --- a/scripts/bundle.py +++ b/scripts/bundle.py @@ -44,6 +44,10 @@ def copy_examples(): shutil.copy(orig_sketch_path, bundle_sketch_path) +def update_submodules(): + subprocess.check_output("git submodule update --init --recursive", shell=True) + + def bundle(): os.chdir(TMP_DIR) zipcmd = "tar -zcvf {}.tar.gz {}".format(BUNDLE_NAME, BUNDLE_NAME) @@ -51,6 +55,7 @@ def bundle(): clean() +update_submodules() copy_core() copy_examples() bundle()