mirror of
https://github.com/kovidgoyal/kitty.git
synced 2026-08-03 22:25:57 +00:00
Pass verbose to go build
This commit is contained in:
parent
2ea3fa36d2
commit
ce9a5528bc
1 changed files with 2 additions and 0 deletions
2
setup.py
2
setup.py
|
|
@ -877,6 +877,8 @@ def safe_makedirs(path: str) -> None:
|
|||
|
||||
def build_kitty_tool(args: Options, launcher_dir: str = '.') -> None:
|
||||
cmd = ['go', 'build']
|
||||
if args.verbose:
|
||||
cmd.append('-v')
|
||||
if not args.debug:
|
||||
cmd += ['-ldflags', '-s -w']
|
||||
cmd += ['-o', os.path.join(launcher_dir, 'kitty-tool'), os.path.abspath('tools/cmd')]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue