Skip to content
This repository was archived by the owner on Feb 25, 2025. It is now read-only.
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 12 additions & 2 deletions tools/fuchsia/gen_package.py
Original file line number Diff line number Diff line change
Expand Up @@ -91,10 +91,20 @@ def main():
]

# Build the package
subprocess.check_call(pm_command_base + ['build'])
try:
subprocess.check_call(pm_command_base + ['build'])
except subprocess.CalledProcessError as e:
print('The "%s" command failed:' % e.cmd)
print(e.output)
raise

# Archive the package
subprocess.check_call(pm_command_base + ['archive'])
try:
subprocess.check_call(pm_command_base + ['archive'])
except subprocess.CalledProcessError as e:
print('The "%s" command failed:' % e.cmd)
print(e.output)
raise

return 0

Expand Down