This was way more complicated than it should be
This commit is contained in:
parent
f5de8d1f37
commit
e072f20d9b
4 changed files with 6 additions and 24 deletions
|
|
@ -1,7 +1,6 @@
|
|||
NAME = rexclient
|
||||
|
||||
VERSION_FILE := ../VERSION.txt
|
||||
REX_VERSION ?= $(shell cat $(VERSION_FILE))
|
||||
REX_VERSION ?= $(shell bash ../generate_version.sh)
|
||||
|
||||
build: commit.txt
|
||||
go build -tags no_emoji -trimpath -ldflags="-s -w -X main.rex_version=$(REX_VERSION)" -buildvcs=false -o $(NAME)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue