Skip to content

Commit

Permalink
Pass flag -trimpath to go build
Browse files Browse the repository at this point in the history
Signed-off-by: Thomas Hallgren <[email protected]>
  • Loading branch information
thallgren committed May 3, 2023
1 parent dadf858 commit b1b6741
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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=$@
Expand Down

0 comments on commit b1b6741

Please sign in to comment.