From: Cheng Zhao Date: Wed, 17 Jul 2013 02:57:25 +0000 (+0800) Subject: Make sure atom-shell is build before creating distribution. X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=a3d362127e5c3802188f000cc278cb57cf690c0e;p=platform%2Fframework%2Fweb%2Fcrosswalk-tizen.git Make sure atom-shell is build before creating distribution. --- diff --git a/script/create-dist.py b/script/create-dist.py index 3dd3ac7..da684b0 100755 --- a/script/create-dist.py +++ b/script/create-dist.py @@ -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)