mirror of
https://github.com/Luzifer/vault-totp.git
synced 2024-12-22 22:01:19 +00:00
Add install make target
This commit is contained in:
parent
73d380a3b5
commit
727482166c
1 changed files with 3 additions and 1 deletions
4
Makefile
4
Makefile
|
@ -2,6 +2,8 @@ ci:
|
||||||
curl -sSLo golang.sh https://raw.githubusercontent.com/Luzifer/github-publish/master/golang.sh
|
curl -sSLo golang.sh https://raw.githubusercontent.com/Luzifer/github-publish/master/golang.sh
|
||||||
bash golang.sh
|
bash golang.sh
|
||||||
|
|
||||||
|
|
||||||
test:
|
test:
|
||||||
gometalinter --deadline 20s --cyclo-over=15
|
gometalinter --deadline 20s --cyclo-over=15
|
||||||
|
|
||||||
|
install:
|
||||||
|
go install -ldflags "-X main.version=$(shell git describe --tags || git rev-parse --short HEAD || echo dev)"
|
||||||
|
|
Loading…
Reference in a new issue