diff --git a/Makefile b/Makefile index f0f217c9..ef5280be 100644 --- a/Makefile +++ b/Makefile @@ -1,8 +1,8 @@ +ABRA := ./cmd/abra COMMIT := $(shell git rev-list -1 HEAD) -VERSION := $(shell cat ./version) GOPATH := $(shell go env GOPATH) LDFLAGS := "-X 'main.Commit=$(COMMIT)' -X 'main.Version=$(VERSION)'" -ABRA := ./cmd/abra +VERSION := $(shell cat ./version) all: run install build clean