New bypy CLI for export
This commit is contained in:
parent
6436dfaf14
commit
d65ed5993c
9
setup.py
9
setup.py
@ -1433,12 +1433,9 @@ def main() -> None:
|
|||||||
package(args, bundle_type='macos-package')
|
package(args, bundle_type='macos-package')
|
||||||
print('kitty.app successfully built!')
|
print('kitty.app successfully built!')
|
||||||
elif args.action == 'export-ci-bundles':
|
elif args.action == 'export-ci-bundles':
|
||||||
cmd = [sys.executable, '../bypy', 'export']
|
cmd = [sys.executable, '../bypy', 'export', 'download.calibre-ebook.com:/srv/download/ci/kitty']
|
||||||
dest = ['download.calibre-ebook.com:/srv/download/ci/kitty']
|
subprocess.check_call(cmd + ['linux'])
|
||||||
subprocess.check_call(cmd + ['linux'] + dest)
|
subprocess.check_call(cmd + ['macos'])
|
||||||
subprocess.check_call(cmd + ['macos'] + dest)
|
|
||||||
subprocess.check_call(cmd + ['linux', '32'] + dest)
|
|
||||||
subprocess.check_call(cmd + ['linux', 'arm64'] + dest)
|
|
||||||
|
|
||||||
|
|
||||||
if __name__ == '__main__':
|
if __name__ == '__main__':
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user