Make sure atom-shell is build before creating distribution.
This commit is contained in:
parent
2d75fdd4f5
commit
a3d362127e
1 changed files with 6 additions and 0 deletions
|
@ -20,12 +20,18 @@ def main():
|
||||||
rm_rf(DIST_DIR)
|
rm_rf(DIST_DIR)
|
||||||
os.makedirs(DIST_DIR)
|
os.makedirs(DIST_DIR)
|
||||||
|
|
||||||
|
force_build()
|
||||||
copy_binaries()
|
copy_binaries()
|
||||||
copy_license()
|
copy_license()
|
||||||
create_version()
|
create_version()
|
||||||
create_zip()
|
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():
|
def copy_binaries():
|
||||||
shutil.copytree(BUNDLE_DIR, os.path.join(DIST_DIR, BUNDLE_NAME),
|
shutil.copytree(BUNDLE_DIR, os.path.join(DIST_DIR, BUNDLE_NAME),
|
||||||
symlinks=True)
|
symlinks=True)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue