Browse Source

linting: replace megacheck with metalinter

pull/703/head
Zach Ramsay 7 years ago
committed by Ethan Buchman
parent
commit
fc33576bac
1 changed files with 4 additions and 3 deletions
  1. +4
    -3
      Makefile

+ 4
- 3
Makefile 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

Loading…
Cancel
Save