1
0
Fork 0
mirror of https://github.com/Luzifer/duplicity-backup.git synced 2024-12-20 18:41:21 +00:00
duplicity-backup/Makefile

21 lines
471 B
Makefile
Raw Normal View History

2016-05-22 13:04:37 +00:00
bindata:
go-bindata help.txt
setup-testenv:
go get github.com/onsi/ginkgo/ginkgo
go get github.com/onsi/gomega
2016-05-22 14:05:06 +00:00
go get github.com/alecthomas/gometalinter
gometalinter --install --update
2016-05-22 13:04:37 +00:00
test:
2016-05-22 14:05:06 +00:00
ginkgo
gometalinter \
--cyclo-over=15 \
2016-05-22 14:11:57 +00:00
--deadline=20s \
2016-05-22 14:05:06 +00:00
--exclude=bindata.go \
--exclude=configfile_test.go \
-D errcheck
install:
go install -ldflags "-X main.version=$(shell git describe --tags || git rev-parse --short HEAD || echo dev)"