mirror of
https://gitlab.com/pulsechaincom/erigon-pulse.git
synced 2024-12-22 03:30:37 +00:00
restore linting disabled in geth 1.9.6 rebase.
This commit is contained in:
parent
801e8078f9
commit
c271939b0b
19
Makefile
19
Makefile
@ -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/
|
||||
|
Loading…
Reference in New Issue
Block a user