mirror of
https://github.com/kovidgoyal/kitty.git
synced 2024-09-21 11:39:57 +03:00
Pass verbose to go build
This commit is contained in:
parent
2ea3fa36d2
commit
ce9a5528bc
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…
Reference in New Issue
Block a user