Skip to content

Commit

Permalink
Passing the commit and version to go build
Browse files Browse the repository at this point in the history
  • Loading branch information
COMTOP1 committed Nov 18, 2024
1 parent c532e97 commit 409a4ec
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 @@ -12,7 +12,7 @@ PROTO_GENERATED=storage/storage.pb.go
$(PROTOC) -I=storage/ --go_opt=paths=source_relative --go_out=storage/ $<

build: $(PROTO_GENERATED)
$(GO_BUILD) -o $(BINARY_NAME)
$(GO_BUILD) -ldflags="$(LDFLAGS)" -o $(BINARY_NAME)
.PHONY: build

clean:
Expand Down

0 comments on commit 409a4ec

Please sign in to comment.