mirror of
https://github.com/status-im/consul.git
synced 2025-01-09 13:26:07 +00:00
Use GOTAGS in the vet make goal
This commit is contained in:
parent
6da6e086ef
commit
1e11082709
@ -95,7 +95,7 @@ format:
|
|||||||
|
|
||||||
vet:
|
vet:
|
||||||
@echo "--> Running go vet"
|
@echo "--> Running go vet"
|
||||||
@go vet $(GOFILES); if [ $$? -eq 1 ]; then \
|
@go vet -tags '$(GOTAGS)' $(GOFILES); if [ $$? -eq 1 ]; then \
|
||||||
echo ""; \
|
echo ""; \
|
||||||
echo "Vet found suspicious constructs. Please check the reported constructs"; \
|
echo "Vet found suspicious constructs. Please check the reported constructs"; \
|
||||||
echo "and fix them if necessary before submitting the code for review."; \
|
echo "and fix them if necessary before submitting the code for review."; \
|
||||||
|
Loading…
x
Reference in New Issue
Block a user