Skip to content
Snippets Groups Projects
Commit 031b12ee authored by zramsay's avatar zramsay
Browse files

Makefile: add megacheck to vet code

parent 6d2f5180
No related branches found
No related tags found
No related merge requests found
......@@ -54,6 +54,12 @@ vet:
@echo "Running go vet."
@go vet ${PACKAGES_NOVENDOR}
# run the megacheck tool for code compliance
.PHONY: megacheck
megacheck:
@go get honnef.co/go/tools/cmd/megacheck
@for pkg in ${PACKAGES_NOVENDOR}; do megacheck "$$pkg"; done
### Dependency management for github.com/hyperledger/burrow
# erase vendor wipes the full vendor directory
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment