From b1b674132d3f3ebd9204ae5dc2560512017dc235 Mon Sep 17 00:00:00 2001 From: Thomas Hallgren Date: Wed, 3 May 2023 08:35:06 +0200 Subject: [PATCH] Pass flag -trimpath to go build Signed-off-by: Thomas Hallgren --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index db2f802..c5cea81 100644 --- a/Makefile +++ b/Makefile @@ -45,7 +45,7 @@ fuseftp: $(BIN_OUTPUT)/fuseftp-$(GOOS)-$(GOARCH)$(EXE) $(BIN_OUTPUT)/fuseftp-$(GOOS)-$(GOARCH)$(EXE): rpc/fuseftp.pb.go rpc/fuseftp.grpc_pb.go $(wildcard pkg/fs/*.go) $(wildcard pkg/main/*.go) mkdir -p $(BIN_OUTPUT) - go build -o $@ ./pkg/main/... + go build -trimpath -o $@ ./pkg/main/... %.out.html: %.out go tool cover -html=$< -o=$@