1
0
mirror of https://github.com/goreleaser/goreleaser.git synced 2025-03-17 20:47:50 +02:00

chore: added bandep

This commit is contained in:
Carlos Alexandro Becker 2017-12-23 11:45:17 -02:00
parent 84426e1680
commit 777b9c68ad
No known key found for this signature in database
GPG Key ID: E61E2F7DC14AB940

View File

@ -10,10 +10,17 @@ setup:
go get -u github.com/pierrre/gotestcover
go get -u golang.org/x/tools/cmd/cover
go get -u github.com/apex/static/cmd/static-docs
go get -u github.com/caarlos0/bandep
dep ensure
gometalinter --install
echo "make check" > .git/hooks/pre-commit
chmod +x .git/hooks/pre-commit
.PHONY: setup
check:
bandep --ban github.com/tj/assert
.PHONY: check
# Run all the tests
test:
gotestcover $(TEST_OPTIONS) -covermode=atomic -coverprofile=coverage.txt $(SOURCE_FILES) -run $(TEST_PATTERN) -timeout=2m