Skip to content

Commit

Permalink
trim paths in binaries (#421)
Browse files Browse the repository at this point in the history
  • Loading branch information
yuce authored Oct 31, 2023
1 parent a7deaa0 commit cd3e201
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,10 @@ RELEASE_FILE ?= release.txt
TARGZ ?= true

build:
CGO_ENABLED=0 go build -tags base,std,hazelcastinternal,hazelcastinternaltest -ldflags "$(LDFLAGS)" -o build/$(BINARY_NAME) ./cmd/clc
CGO_ENABLED=0 go build -tags base,std,hazelcastinternal,hazelcastinternaltest -ldflags "$(LDFLAGS)" -trimpath -o build/$(BINARY_NAME) ./cmd/clc

build-dmt:
CGO_ENABLED=0 go build -tags base,migration,config,home,version,hazelcastinternal,hazelcastinternaltest -ldflags "$(LDFLAGS)" -o build/$(BINARY_NAME) ./cmd/clc
CGO_ENABLED=0 go build -tags base,migration,config,home,version,hazelcastinternal,hazelcastinternaltest -ldflags "$(LDFLAGS)" -trimpath -o build/$(BINARY_NAME) ./cmd/clc

test:
go test -tags base,std,hazelcastinternal,hazelcastinternaltest -p 1 $(TEST_FLAGS) ./...
Expand Down

0 comments on commit cd3e201

Please sign in to comment.