Skip to content

Commit

Permalink
chore: fix make run,add make install
Browse files Browse the repository at this point in the history
  • Loading branch information
TBXark committed May 9, 2024
1 parent f609c6f commit 4c10f56
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,11 @@ build:

.PHONY: run
run:
go run main.go
go run -ldflags "-X main.BuildVersion=$(BUILD)" .

.PHONY: install
install:
go install -ldflags "-X main.BuildVersion=$(BUILD)" .

.PHONY: buildLinuxX86
buildLinuxX86:
Expand Down

0 comments on commit 4c10f56

Please # to comment.