1
0
Fork 0
mirror of https://github.com/Luzifer/dbx-sync.git synced 2024-12-22 10:51:17 +00:00
dbx-sync/Makefile

21 lines
390 B
Makefile
Raw Permalink Normal View History

2016-10-10 14:57:48 +00:00
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