Intial server/client setup of controller
This commit is contained in:
parent
0f5d2df8a5
commit
01514ad6d2
7 changed files with 120 additions and 12 deletions
4
makefile
4
makefile
|
@ -7,8 +7,8 @@ build:
|
|||
go build -o ${BINARY_NAME} ${SRC_PATH}/main.go
|
||||
|
||||
generate-protos:
|
||||
protoc --go_out=. --go_opt=paths=source_relative --go-grpc_out=. --go-grpc_opt=paths=source_relative ${SRC_PATH}/motorsim.proto
|
||||
protoc --go_out=. --go_opt=paths=source_relative --go-grpc_out=. --go-grpc_opt=paths=source_relative ${SRC_PATH}/proto/motorsim.proto
|
||||
|
||||
clean:
|
||||
go clean
|
||||
rm ${BINARY_NAME} ./src/*.pb.go
|
||||
rm ${BINARY_NAME} ${SRC_PATH}/proto/*.pb.go
|
Loading…
Add table
Add a link
Reference in a new issue