5 lines
165 B
Makefile
5 lines
165 B
Makefile
|
COMMIT := $(shell git rev-list -1 HEAD)
|
||
|
VERSION := $(shell cat ./version)
|
||
|
|
||
|
run:
|
||
|
go run -ldflags="-X 'main.Commit=$(COMMIT)' -X 'main.Version=$(VERSION)'" ./cmd/abra
|