2020-09-07 06:03:12 +00:00
|
|
|
package main
|
|
|
|
|
|
|
|
import (
|
|
|
|
"github.com/ledgerwatch/turbo-geth/cmd/headers/commands"
|
|
|
|
)
|
|
|
|
|
2020-10-25 22:05:37 +00:00
|
|
|
// generate the messages
|
|
|
|
//go:generate protoc --go_out=. "./proto/control.proto" -I=. -I=./../../build/include/google
|
|
|
|
//go:generate protoc --go_out=. "./proto/sentry.proto" -I=. -I=./../../build/include/google
|
|
|
|
|
|
|
|
// generate the services
|
|
|
|
//go:generate protoc --go-grpc_out=. "./proto/control.proto" -I=. -I=./../../build/include/google
|
|
|
|
//go:generate protoc --go-grpc_out=. "./proto/sentry.proto" -I=. -I=./../../build/include/google
|
|
|
|
|
2020-09-07 06:03:12 +00:00
|
|
|
func main() {
|
|
|
|
commands.Execute()
|
|
|
|
}
|