mirror of
https://github.com/Luzifer/dbx-sync.git
synced 2024-12-22 10:51:17 +00:00
20 lines
390 B
Makefile
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
|
|
|