Start work on an installer

This commit is contained in:
Kovid Goyal
2018-06-01 10:31:52 +05:30
parent 4e6d929e20
commit 8b08182555
4 changed files with 1017 additions and 0 deletions

View File

@@ -38,8 +38,10 @@ def call(*cmd):
def run_build(args):
os.chdir(build_path)
call('./linux 64 kitty')
call('./osx kitty --sign-installers')
call('./osx shutdown')
call('./linux 32 kitty')
def run_tag(args):
@@ -268,6 +270,8 @@ def run_upload(args):
files = {
os.path.join(build_path, 'build', f.format(version)): desc
for f, desc in {
'linux/64/dist/kitty-{}-x86_64.txz': 'Linux amd64 binary bundle',
'linux/32/dist/kitty-{}-i686.txz': 'Linux x86 binary bundle',
'osx/dist/kitty-{}.dmg': 'macOS dmg',
}.items()
}