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
Knut Ahlers c6d5a68e2b
Fix tests
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2018-10-08 16:52:45 +02:00

20 lines
475 B
Makefile

bindata:
go-bindata help.txt
ci: publish
publish:
curl -sSLo golang.sh https://raw.githubusercontent.com/Luzifer/github-publish/master/golang.sh
bash golang.sh
setup-testenv:
go get github.com/onsi/ginkgo/ginkgo
go get github.com/onsi/gomega
go get github.com/alecthomas/gometalinter
gometalinter --install --update
test:
go test -v
install:
go install -a -ldflags "-X main.version=$(shell git describe --tags || git rev-parse --short HEAD || echo dev)"