Makefile: Add -trimpath option
This commit is contained in:
parent
0290a42d07
commit
f2480cb9a4
1 changed files with 2 additions and 2 deletions
4
Makefile
4
Makefile
|
|
@ -1,13 +1,13 @@
|
||||||
.PHONY: clean all deps live tslint tsfix
|
.PHONY: clean all deps live tslint tsfix
|
||||||
|
|
||||||
live:
|
live:
|
||||||
sudo CGO_ENABLED=0 go run ./cmd/wdcli $(ARGS)
|
sudo CGO_ENABLED=0 go run -trimpath ./cmd/wdcli $(ARGS)
|
||||||
|
|
||||||
all: wdcli
|
all: wdcli
|
||||||
|
|
||||||
wdcli:
|
wdcli:
|
||||||
go generate ./internal/dis/component/control/static/
|
go generate ./internal/dis/component/control/static/
|
||||||
CGO_ENABLED=0 go build -o ./wdcli ./cmd/wdcli
|
CGO_ENABLED=0 go build -trimpath -o ./wdcli ./cmd/wdcli
|
||||||
|
|
||||||
tslint:
|
tslint:
|
||||||
cd internal/dis/component/server/assets/ && yarn ts-standard
|
cd internal/dis/component/server/assets/ && yarn ts-standard
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue