update build flags
update build flags
This commit is contained in:
2
Makefile
2
Makefile
@@ -8,7 +8,7 @@ deps:
|
|||||||
$(GO) mod download
|
$(GO) mod download
|
||||||
|
|
||||||
build: deps
|
build: deps
|
||||||
CGO_ENABLED=0 $(GO) build -ldflags "-X fes/modules/version.gitCommit=$(shell git rev-parse --short HEAD)" -o fes
|
CGO_ENABLED=0 $(GO) build -a -v -x -trimpath -ldflags "-X fes/modules/version.gitCommit=$(shell git rev-parse --short HEAD) -s -w -buildid=" -o fes
|
||||||
@echo "Fes is now built to ./fes"
|
@echo "Fes is now built to ./fes"
|
||||||
|
|
||||||
lint:
|
lint:
|
||||||
|
|||||||
Reference in New Issue
Block a user