github.com/status-im/status-go@v1.1.0/eth-node/Makefile (about) 1 GO111MODULE = on 2 3 ENABLE_METRICS ?= true 4 BUILD_FLAGS ?= $(shell echo "-ldflags '\ 5 -X github.com/status-im/status-go/eth-node/vendor/github.com/ethereum/go-ethereum/metrics.EnabledStr=$(ENABLE_METRICS)'") 6 7 test: 8 go test ./... 9 .PHONY: test 10 11 lint: 12 golangci-lint run -v 13 .PHONY: lint 14 15 install-linter: 16 # install linter 17 curl -sfL https://install.goreleaser.com/github.com/golangci/golangci-lint.sh | sh -s -- -b $(shell go env GOPATH)/bin v1.21.0 18 .PHONY: install-linter