restore linting disabled in geth 1.9.6 rebase.

This commit is contained in:
Igor Mandrigin 2019-11-05 09:12:49 +01:00
parent 801e8078f9
commit c271939b0b

View File

@ -67,7 +67,22 @@ lint: lintci
lintci:
@echo "--> Running linter for code diff versus commit $(LATEST_COMMIT)"
@echo "FIXME: skipped linting"
@./build/bin/golangci-lint run \
--new-from-rev=$(LATEST_COMMIT) \
--config ./.golangci/step1.yml \
--exclude "which can be annoying to use"
@./build/bin/golangci-lint run \
--new-from-rev=$(LATEST_COMMIT) \
--config ./.golangci/step2.yml
@./build/bin/golangci-lint run \
--new-from-rev=$(LATEST_COMMIT) \
--config ./.golangci/step3.yml
@./build/bin/golangci-lint run \
--new-from-rev=$(LATEST_COMMIT) \
--config ./.golangci/step4.yml
lintci-deps:
curl -sfL https://install.goreleaser.com/github.com/golangci/golangci-lint.sh | sh -s -- -b ./build/bin v1.16.0
@ -182,4 +197,4 @@ geth-windows-amd64:
@ls -ld $(GOBIN)/geth-windows-* | grep amd64
bindings:
go generate ./tests/contracts/
go generate ./tests/contracts/