goes/Makefile

15 lines
428 B
Makefile

help:
@echo "Available targets:"
@echo "- test: run tests"
@echo "- deps: installs dependencies with glide"
@echo "- watch: watch for changes and re-run tests"
deps:
glide install && GO15VENDOREXPERIMENT=1 go install github.com/onsi/ginkgo/ginkgo
test: deps
ginkgo -race -randomizeAllSpecs -r -skipPackage vendor -progress .
watch: deps
ginkgo watch -race -randomizeAllSpecs -r -skipPackage vendor -progress -notify .