Browse Source

dont run metalinter

pull/1120/head
Ethan Buchman 7 years ago
parent
commit
ebeadfc57e
2 changed files with 3 additions and 6 deletions
  1. +3
    -3
      Makefile
  2. +0
    -3
      test/run_test.sh

+ 3
- 3
Makefile View File

@ -2,14 +2,14 @@ GOTOOLS = \
github.com/mitchellh/gox \ github.com/mitchellh/gox \
github.com/Masterminds/glide \ github.com/Masterminds/glide \
github.com/tcnksm/ghr \ github.com/tcnksm/ghr \
gopkg.in/alecthomas/gometalinter.v2
# gopkg.in/alecthomas/gometalinter.v2
GOTOOLS_CHECK = gox glide ghr gometalinter.v2 GOTOOLS_CHECK = gox glide ghr gometalinter.v2
PACKAGES=$(shell go list ./... | grep -v '/vendor/') PACKAGES=$(shell go list ./... | grep -v '/vendor/')
BUILD_TAGS?=tendermint BUILD_TAGS?=tendermint
TMHOME = $${TMHOME:-$$HOME/.tendermint} TMHOME = $${TMHOME:-$$HOME/.tendermint}
BUILD_FLAGS = -ldflags "-X github.com/tendermint/tendermint/version.GitCommit=`git rev-parse --short HEAD`" BUILD_FLAGS = -ldflags "-X github.com/tendermint/tendermint/version.GitCommit=`git rev-parse --short HEAD`"
all: check build test install metalinter
all: check build test install
check: check_tools get_vendor_deps check: check_tools get_vendor_deps
@ -42,7 +42,7 @@ check_tools:
get_tools: get_tools:
@echo "--> Installing tools" @echo "--> Installing tools"
go get -u -v $(GOTOOLS) go get -u -v $(GOTOOLS)
@gometalinter.v2 --install
# @gometalinter.v2 --install
update_tools: update_tools:
@echo "--> Updating tools" @echo "--> Updating tools"


+ 0
- 3
test/run_test.sh View File

@ -6,9 +6,6 @@ pwd
BRANCH=$(git rev-parse --abbrev-ref HEAD) BRANCH=$(git rev-parse --abbrev-ref HEAD)
echo "Current branch: $BRANCH" echo "Current branch: $BRANCH"
# run the linter
make metalinter
# run the go unit tests with coverage # run the go unit tests with coverage
bash test/test_cover.sh bash test/test_cover.sh


Loading…
Cancel
Save