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