godog/Makefile
2015-07-02 16:42:56 +03:00

15 строки
397 Б
Makefile

.PHONY: test deps
test:
@echo "running all tests"
@sh -c 'if [ ! -z "$(go fmt ./...)" ]; then exit 1; else echo "go fmt OK"; fi'
@sh -c 'if [ ! -z "$(golint ./...)" ]; then exit 1; else echo "golint OK"; fi'
go vet ./...
go test
go run cmd/godog/main.go -f progress
deps:
@echo "updating all dependencies"
go get -u github.com/cucumber/gherkin-go
go get -u github.com/shiena/ansicolor