From f2480cb9a44c31de7eaca4c05359d56f25a20234 Mon Sep 17 00:00:00 2001 From: Tom Wiesing Date: Wed, 22 Nov 2023 17:34:12 +0100 Subject: [PATCH] Makefile: Add -trimpath option --- Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 0a92083..28694bf 100644 --- a/Makefile +++ b/Makefile @@ -1,13 +1,13 @@ .PHONY: clean all deps live tslint tsfix live: - sudo CGO_ENABLED=0 go run ./cmd/wdcli $(ARGS) + sudo CGO_ENABLED=0 go run -trimpath ./cmd/wdcli $(ARGS) all: wdcli wdcli: 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: cd internal/dis/component/server/assets/ && yarn ts-standard