Skip to content

Commit

Permalink
Merge pull request #19 from waldirborbajr/waldirborbajr-patch-1
Browse files Browse the repository at this point in the history
Update Makefile
  • Loading branch information
waldirborbajr authored Mar 14, 2024
2 parents ef7b75e + 1e5c908 commit 0691764
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 @@ -4,7 +4,7 @@ GCFLAGS :=
debug: GCFLAGS += -gcflags=all='-l -N'

VERSION ?= $(shell git rev-parse --short HEAD)
LDFLAGS = -ldflags '-s -w -X main.BuildVersion=$(VERSION)'
LDFLAGS = -ldflags '-s -w -X main.version=$(VERSION)'

help: ## 💬 This help message :)
@grep -E '^[a-zA-Z_-]+:.*?## .*$$' $(MAKEFILE_LIST) | awk 'BEGIN {FS = ":.*?## "}; {printf "\033[36m%-20s\033[0m %s\n", $$1, $$2}'
Expand Down

0 comments on commit 0691764

Please sign in to comment.