New CLI for bypy

This commit is contained in:
Kovid Goyal 2021-12-16 20:37:46 +05:30
parent ae952605d3
commit 6a657eec33
No known key found for this signature in database
GPG Key ID: 06BC317B515ACE7C

View File

@ -59,8 +59,8 @@ def call(*cmd: str, cwd: Optional[str] = None, echo: bool = False) -> None:
def run_build(args: Any) -> None: def run_build(args: Any) -> None:
for x in ('64', '32', 'arm64'): for x in ('64', '32', 'arm64'):
call(f'python ../bypy linux {x} program', echo=True) call(f'python ../bypy linux --arch {x} program', echo=True)
call(f'python ../bypy linux {x} shutdown', echo=True) call(f'python ../bypy linux --arch {x} shutdown', echo=True)
call('python ../bypy macos program --sign-installers --notarize', echo=True) call('python ../bypy macos program --sign-installers --notarize', echo=True)
call('python ../bypy macos shutdown') call('python ../bypy macos shutdown')