goes/Makefile

16 lines
479 B
Makefile
Raw Permalink 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 04:07:10 +08:00
glide install && mkdir -p vendor/bin && go build -o vendor/bin/ginkgo ./vendor/github.com/onsi/ginkgo/ginkgo
2013-06-15 14:18:48 +08:00
test: deps
vendor/bin/ginkgo -race -randomizeAllSpecs -r -skipPackage vendor -progress .
2016-09-28 03:29:47 +08:00
watch: deps
vendor/bin/ginkgo watch -race -randomizeAllSpecs -r -skipPackage vendor -progress -notify .