mirror of
https://github.com/kovidgoyal/kitty.git
synced 2026-08-31 14:22:33 +00:00
Refactor conversion of py opt to go opt
This commit is contained in:
parent
e127579ae6
commit
a5876e5231
2 changed files with 32 additions and 16 deletions
4
setup.py
4
setup.py
|
|
@ -891,7 +891,9 @@ def update_go_generated_files(args: Options, kitty_exe: str) -> None:
|
|||
return
|
||||
if args.verbose:
|
||||
print('Updating Go generated files...')
|
||||
subprocess.check_call([kitty_exe, '+launch', os.path.join(base, 'gen-rc-go.py')])
|
||||
cp = subprocess.run([kitty_exe, '+launch', os.path.join(base, 'gen-rc-go.py')])
|
||||
if cp.returncode != 0:
|
||||
raise SystemExit(cp.returncode)
|
||||
|
||||
|
||||
def build_kitty_tool(args: Options, launcher_dir: str, for_freeze: bool = False) -> None:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue