Check the directory containing the go file when make verifiers

Signed-off-by: cai.zhang <cai.zhang@zilliz.com>
This commit is contained in:
cai.zhang 2020-11-09 14:51:46 +08:00 committed by yefu.chen
parent 202ded96b9
commit 19fbf3d616

View File

@ -42,7 +42,9 @@ lint:
ruleguard:
@echo "Running $@ check"
@${GOPATH}/bin/ruleguard -rules ruleguard.rule.go ./... || true
@${GOPATH}/bin/ruleguard -rules ruleguard.rules.go ./internal/... || true
@${GOPATH}/bin/ruleguard -rules ruleguard.rules.go ./cmd/... || true
@${GOPATH}/bin/ruleguard -rules ruleguard.rules.go ./test/... || true
verifiers: get-check-deps fmt lint ruleguard