forked from coop-cloud/go-abra
Can't sort this as VERSION is not defined then
This commit is contained in:
parent
a9d9d9de2f
commit
4884c14ab3
2
Makefile
2
Makefile
|
@ -1,8 +1,8 @@
|
|||
ABRA := ./cmd/abra
|
||||
COMMIT := $(shell git rev-list -1 HEAD)
|
||||
GOPATH := $(shell go env GOPATH)
|
||||
LDFLAGS := "-X 'main.Commit=$(COMMIT)' -X 'main.Version=$(VERSION)'"
|
||||
VERSION := $(shell cat ./version)
|
||||
LDFLAGS := "-X 'main.Commit=$(COMMIT)' -X 'main.Version=$(VERSION)'"
|
||||
|
||||
all: run install build clean format check
|
||||
|
||||
|
|
Reference in New Issue