goes/Makefile

15 lines
405 B
Makefile
Raw Normal View History

2013-06-15 14:18:48 +08:00
help:
@echo "Available targets:"
@echo "- test: run tests"
@echo "- deps: installs dependencies with glide"
2016-09-28 03:29:47 +08:00
@echo "- watch: watch for changes and re-run tests"
2013-06-15 14:18:48 +08:00
deps:
2016-09-28 03:34:50 +08:00
glide install && go install github.com/onsi/ginkgo/ginkgo
2013-06-15 14:18:48 +08:00
test: deps
2016-09-28 03:29:47 +08:00
ginkgo -race -randomizeAllSpecs -r -skipPackage vendor -progress .
watch: deps
ginkgo watch -race -randomizeAllSpecs -r -skipPackage vendor -progress -notify .