tests appear as github.com/hashicorp/nomad/api.test

This commit is contained in:
Mahmood Ali 2019-11-12 11:33:20 -05:00
parent 90d81fcd55
commit 9e211ce16f
1 changed files with 1 additions and 1 deletions

View File

@ -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