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:
|
def build_kitty_tool(args: Options, launcher_dir: str = '.') -> None:
|
||||||
cmd = ['go', 'build']
|
cmd = ['go', 'build']
|
||||||
|
if args.verbose:
|
||||||
|
cmd.append('-v')
|
||||||
if not args.debug:
|
if not args.debug:
|
||||||
cmd += ['-ldflags', '-s -w']
|
cmd += ['-ldflags', '-s -w']
|
||||||
cmd += ['-o', os.path.join(launcher_dir, 'kitty-tool'), os.path.abspath('tools/cmd')]
|
cmd += ['-o', os.path.join(launcher_dir, 'kitty-tool'), os.path.abspath('tools/cmd')]
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user