Skip to content

Commit

Permalink
adding comment to Makefile
Browse files Browse the repository at this point in the history
  • Loading branch information
joao-zanutto authored Apr 5, 2024
1 parent 03ffbf0 commit b844395
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -20,5 +20,6 @@ coverage:
install:
mv $(MAIN_PATH)/$(CMD_NAME) $(GOBIN)/$(CMD_NAME)

build: $(CMD_FILES)
# The build flag -tags=viper_bind_struct has been added to avoid the need to bind each of the environment variables
build: $(CMD_FILES)
CGO_ENABLED=0 go build -tags=viper_bind_struct -ldflags="$(LDFLAGS)" -v -o $(CMD_NAME) $(MAIN_PATH)

0 comments on commit b844395

Please sign in to comment.