Intial server/client setup of controller

This commit is contained in:
AntoineH 2024-09-03 18:05:41 +02:00
parent 0f5d2df8a5
commit 01514ad6d2
7 changed files with 120 additions and 12 deletions

View file

@ -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