New bypy CLI for export

This commit is contained in:
Kovid Goyal 2021-12-19 22:42:36 +05:30
parent 6436dfaf14
commit d65ed5993c
No known key found for this signature in database
GPG Key ID: 06BC317B515ACE7C

View File

@ -1433,12 +1433,9 @@ def main() -> None:
package(args, bundle_type='macos-package')
print('kitty.app successfully built!')
elif args.action == 'export-ci-bundles':
cmd = [sys.executable, '../bypy', 'export']
dest = ['download.calibre-ebook.com:/srv/download/ci/kitty']
subprocess.check_call(cmd + ['linux'] + dest)
subprocess.check_call(cmd + ['macos'] + dest)
subprocess.check_call(cmd + ['linux', '32'] + dest)
subprocess.check_call(cmd + ['linux', 'arm64'] + dest)
cmd = [sys.executable, '../bypy', 'export', 'download.calibre-ebook.com:/srv/download/ci/kitty']
subprocess.check_call(cmd + ['linux'])
subprocess.check_call(cmd + ['macos'])
if __name__ == '__main__':