Skip to content

Commit

Permalink
Write indev version to binary on make.
Browse files Browse the repository at this point in the history
  • Loading branch information
lnsp committed Jan 25, 2024
1 parent ca8cfad commit 6b37a1f
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 @@ -9,7 +9,7 @@ all: build

build:
mkdir -p bin/
$(GOBUILD) -o $(BINARY_NAME) -v
$(GOBUILD) -ldflags "-X valar/cli/cmd.version=indev" -o $(BINARY_NAME) -v

test:
$(GOTEST) -v ./...
Expand Down

0 comments on commit 6b37a1f

Please sign in to comment.