Skip to content

Commit

Permalink
makefile: check if all dependencies are vendored
Browse files Browse the repository at this point in the history
  • Loading branch information
mmatczuk committed Nov 23, 2017
1 parent 63d0799 commit 39b8349
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ fmt:
@go fmt ./...

.PHONY: check
check: .check-fmt .check-vet .check-lint .check-ineffassign .check-mega .check-misspell
check: .check-fmt .check-vet .check-lint .check-ineffassign .check-mega .check-misspell .check-vendor

.PHONY: .check-fmt
.check-fmt:
Expand Down Expand Up @@ -38,6 +38,10 @@ check: .check-fmt .check-vet .check-lint .check-ineffassign .check-mega .check-m
.check-mega:
@megacheck ./...

.PHONY: .check-vendor
.check-vendor:
@dep ensure -no-vendor -dry-run

.PHONY: test
test:
@echo "==> Running tests (race)..."
Expand Down

0 comments on commit 39b8349

Please sign in to comment.