diff --git a/Makefile b/Makefile index 74d53d4..531fb04 100644 --- a/Makefile +++ b/Makefile @@ -2,6 +2,8 @@ ci: curl -sSLo golang.sh https://raw.githubusercontent.com/Luzifer/github-publish/master/golang.sh bash golang.sh - test: gometalinter --deadline 20s --cyclo-over=15 + +install: + go install -ldflags "-X main.version=$(shell git describe --tags || git rev-parse --short HEAD || echo dev)"