Skip to content

Commit

Permalink
Make sure atom-shell is build before creating distribution.
Browse files Browse the repository at this point in the history
  • Loading branch information
zcbenz committed Jul 17, 2013
1 parent 2d75fdd commit a3d3621
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions script/create-dist.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,12 +20,18 @@ def main():
rm_rf(DIST_DIR)
os.makedirs(DIST_DIR)

force_build()
copy_binaries()
copy_license()
create_version()
create_zip()


def force_build():
build = os.path.join(SOURCE_ROOT, 'script', 'build.py')
subprocess.check_call([sys.executable, build, '-c', 'Release']);


def copy_binaries():
shutil.copytree(BUNDLE_DIR, os.path.join(DIST_DIR, BUNDLE_NAME),
symlinks=True)
Expand Down

0 comments on commit a3d3621

Please sign in to comment.