This repository has been archived on 2021-07-16. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files
go-abra/Makefile
T
roxxers a2a836c2a9 feat: added version and makefile
makefile allows for package variables to be defined
2021-07-13 23:47:47 +01:00

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