mirror of
https://github.com/tendermint/tendermint.git
synced 2026-05-12 18:21:31 +00:00
make will install
This commit is contained in:
9
Makefile
9
Makefile
@@ -1,6 +1,11 @@
|
||||
.PHONY: get_deps build all list_deps
|
||||
.PHONY: get_deps build all list_deps install
|
||||
|
||||
all: build
|
||||
all: install
|
||||
|
||||
install:
|
||||
go install github.com/tendermint/tendermint/cmd/tendermint
|
||||
go install github.com/tendermint/tendermint/cmd/barak
|
||||
go install github.com/tendermint/tendermint/cmd/debora
|
||||
|
||||
build:
|
||||
go build -o build/tendermint github.com/tendermint/tendermint/cmd/tendermint
|
||||
|
||||
@@ -21,6 +21,7 @@ Commands:
|
||||
gen_validator Generate new validator keypair
|
||||
gen_tx Generate new transaction
|
||||
probe_upnp Test UPnP functionality
|
||||
version Show version info
|
||||
`)
|
||||
return
|
||||
}
|
||||
@@ -43,6 +44,8 @@ Commands:
|
||||
probe_upnp()
|
||||
case "unsafe_reset_priv_validator":
|
||||
reset_priv_validator()
|
||||
case "version":
|
||||
fmt.Println(config.GetString("version"))
|
||||
default:
|
||||
fmt.Printf("Unknown command %v\n", args[0])
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user