File tree Expand file tree Collapse file tree 1 file changed +12
-0
lines changed Expand file tree Collapse file tree 1 file changed +12
-0
lines changed Original file line number Diff line number Diff line change @@ -8,31 +8,43 @@ GOBIN = ./build/bin
88GO ?= latest
99GORUN = go run
1010
11+ # ? geth: Build geth
1112geth :
1213 $(GORUN ) build/ci.go install ./cmd/geth
1314 @echo " Done building."
1415 @echo " Run \" $( GOBIN) /geth\" to launch geth."
1516
17+ # ? all: Build all packages and executables
1618all :
1719 $(GORUN ) build/ci.go install
1820
21+ # ? test: Run the tests
1922test : all
2023 $(GORUN ) build/ci.go test
2124
25+ # ? lint: Run certain pre-selected linters
2226lint : # # Run linters.
2327 $(GORUN ) build/ci.go lint
2428
29+ # ? clean: Clean go cache, built executables, and the auto generated folder
2530clean :
2631 go clean -cache
2732 rm -fr build/_workspace/pkg/ $(GOBIN ) /*
2833
2934# The devtools target installs tools required for 'go generate'.
3035# You need to put $GOBIN (or $GOPATH/bin) in your PATH to use 'go generate'.
3136
37+ # ? devtools: Install recommended developer tools
3238devtools :
3339 env GOBIN= go install golang.org/x/tools/cmd/stringer@latest
3440 env GOBIN= go install github.com/fjl/gencodec@latest
3541 env GOBIN= go install github.com/golang/protobuf/protoc-gen-go@latest
3642 env GOBIN= go install ./cmd/abigen
3743 @type " solc" 2> /dev/null || echo ' Please install solc'
3844 @type " protoc" 2> /dev/null || echo ' Please install protoc'
45+
46+ # ? help: Get more info on make commands.
47+ help : Makefile
48+ @echo " Choose a command run in go-ethereum:"
49+ @sed -n ' s/^#?//p' $< | column -t -s ' :' | sort | sed -e ' s/^/ /'
50+ .PHONY : help
You can’t perform that action at this time.
0 commit comments