linting: replace megacheck with metalinter

This commit is contained in:
Zach Ramsay
2017-09-05 16:21:21 -04:00
committed by Ethan Buchman
parent 366bc00b70
commit fc33576bac

View File

@@ -2,6 +2,7 @@ GOTOOLS = \
github.com/mitchellh/gox \
github.com/tcnksm/ghr \
github.com/Masterminds/glide \
github.com/alecthomas/gometalinter
PACKAGES=$(shell go list ./... | grep -v '/vendor/')
BUILD_TAGS?=tendermint
@@ -79,8 +80,8 @@ ensure_tools:
### Formatting, linting, and vetting
megacheck:
@for pkg in ${PACKAGES}; do megacheck "$$pkg"; done
metalinter: ensure_tools
@gometalinter --install
gometalinter --vendor --deadline=600s --enable-all --disable=lll ./...
.PHONY: install build build_race dist test test_race test_integrations test100 draw_deps list_deps get_deps get_vendor_deps update_deps revision tools