Skip to content

Commit

Permalink
bundle: make sure to update sumbodules each build
Browse files Browse the repository at this point in the history
  • Loading branch information
Stephen Stack committed Nov 27, 2016
1 parent cdcf857 commit b44e1d2
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions scripts/bundle.py
Original file line number Diff line number Diff line change
Expand Up @@ -44,13 +44,18 @@ 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)
subprocess.check_output(zipcmd, shell=True)


clean()
update_submodules()
copy_core()
copy_examples()
bundle()
Expand Down

0 comments on commit b44e1d2

Please sign in to comment.