Skip to content

Commit

Permalink
disable debug
Browse files Browse the repository at this point in the history
  • Loading branch information
yinheli committed Oct 16, 2018
1 parent d008cff commit ab01b44
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 @@ -22,14 +22,14 @@ fmt:
.PHONY: install
install:
go install \
-ldflags='-X "main.Build=$(GIT_TAG)-$(GIT_HASH)"' \
-ldflags='-s -w -X "main.Build=$(GIT_TAG)-$(GIT_HASH)"' \
./cmd/$(CMD)

PHONY: $(CMD)
$(CMD):
go build \
-o release/$(CMD) \
-ldflags='-X "main.Build=$(GIT_TAG)-$(GIT_HASH)"' \
-ldflags='-s -w -X "main.Build=$(GIT_TAG)-$(GIT_HASH)"' \
./cmd/$(CMD)/main.go

PHONY: $(PLATFORMS)
Expand Down

0 comments on commit ab01b44

Please sign in to comment.