1
0
Fork 0
mirror of https://github.com/Luzifer/dbx-sync.git synced 2024-10-18 12:54:25 +00:00
dbx-sync/Makefile
2016-10-10 16:57:48 +02:00

20 lines
390 B
Makefile

VERSION := $(shell git describe --tags --exact-match)
ci: publish
qa:
go get gopkg.in/alecthomas/gometalinter.v1
gometalinter.v1 --vendored-linters --install
gometalinter.v1 \
-D gotype -D errcheck -D gas -D gocyclo \
--sort path --sort line --deadline 1m --cyclo-over 15 \
.
ifneq ($(strip $(VERSION)),)
publish:
VERSION=$(VERSION) sh -e publish.sh
else
publish:
true
endif