Making basecoind quickly terminate - temporary workaround
This commit is contained in:
parent
1bb3b975c8
commit
1197c6db93
2
Makefile
2
Makefile
@ -18,7 +18,7 @@ gaia:
|
||||
|
||||
build:
|
||||
@rm -rf examples/basecoin/vendor/
|
||||
go build $(BUILD_FLAGS) -o build/basecoin ./examples/basecoin/cmd/...
|
||||
go build $(BUILD_FLAGS) -o build/basecoind ./examples/basecoin/cmd/basecoind/...
|
||||
|
||||
dist:
|
||||
@bash publish/dist.sh
|
||||
|
||||
@ -12,16 +12,16 @@ import (
|
||||
)
|
||||
|
||||
func main() {
|
||||
fmt.Println("This is temporary, for unblocking our build process.")
|
||||
return
|
||||
|
||||
// TODO CREATE CLI
|
||||
|
||||
logger := log.NewTMLogger(log.NewSyncWriter(os.Stdout)).With("module", "main")
|
||||
|
||||
db, err := dbm.NewGoLevelDB("basecoind", "data")
|
||||
if err != nil {
|
||||
fmt.Println(err)
|
||||
os.Exit(1)
|
||||
}
|
||||
|
||||
bapp := app.NewBasecoinApp(logger, db)
|
||||
baseapp.RunForever(bapp)
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user