tests appear as github.com/hashicorp/nomad/api.test
This commit is contained in:
parent
90d81fcd55
commit
9e211ce16f
|
@ -196,7 +196,7 @@ check: ## Lint the source code
|
|||
@if (git status | grep -q .pb.go); then echo the following proto files are out of sync; git status |grep .pb.go; exit 1; fi
|
||||
|
||||
@echo "==> Check API package is isolated from rest"
|
||||
@! go list --test -f '{{ join .Deps "\n" }}' ./api | grep github.com/hashicorp/nomad/ | grep -v -e /vendor/ -e /nomad/api/
|
||||
@! go list --test -f '{{ join .Deps "\n" }}' ./api | grep github.com/hashicorp/nomad/ | grep -v -e /vendor/ -e /nomad/api/ -e nomad/api.test
|
||||
|
||||
.PHONY: checkscripts
|
||||
checkscripts: ## Lint shell scripts
|
||||
|
|
Loading…
Reference in New Issue