diff options
author | Josh Matthews <josh@joshmatthews.net> | 2019-10-10 15:50:37 -0400 |
---|---|---|
committer | Josh Matthews <josh@joshmatthews.net> | 2019-10-10 15:50:37 -0400 |
commit | 025cb64d85529a07ed28e46ab4ae05e1ca330024 (patch) | |
tree | e58c9bd935c00d7313909fc763da581ff5383aa3 /python/servo/package_commands.py | |
parent | 3d529b1b8859cbb5f9f8337ec8343c3254fd4224 (diff) | |
download | servo-025cb64d85529a07ed28e46ab4ae05e1ca330024.tar.gz servo-025cb64d85529a07ed28e46ab4ae05e1ca330024.zip |
Create a zip of all UWP packaging artifacts.
Diffstat (limited to 'python/servo/package_commands.py')
-rw-r--r-- | python/servo/package_commands.py | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/python/servo/package_commands.py b/python/servo/package_commands.py index d8dbc49b117..c487a8c290d 100644 --- a/python/servo/package_commands.py +++ b/python/servo/package_commands.py @@ -68,7 +68,7 @@ PACKAGES = { r'target\release\msi\Servo.zip', ], 'uwp': [ - r'support\hololens\AppPackages\ServoApp\ServoApp_1.0.0.0_Test\ServoApp_1.0.0.0_x64_arm64.appxbundle', + r'support\hololens\AppPackages\ServoApp\ServoApp_1.0.0.0_Test.zip', ], } @@ -766,3 +766,11 @@ def build_uwp(platforms, dev, msbuild_dir): # Generate an appxbundle. subprocess.check_call([msbuild, "/m", build_file.name]) os.unlink(build_file.name) + + print("Creating ZIP") + out_dir = path.join(os.getcwd(), 'support', 'hololens', 'AppPackages', 'ServoApp') + name = 'ServoApp_1.0.0.0_%sTest' % ('Debug_' if dev else '') + artifacts_dir = path.join(out_dir, name) + zip_path = path.join(out_dir, name + ".zip") + archive_deterministically(artifacts_dir, zip_path, prepend_path='servo/') + print("Packaged Servo into " + zip_path) |