mirror of
https://gitlab.dit.htwk-leipzig.de/htwk-software/htwkalender.git
synced 2025-08-09 21:27:45 +02:00
feat:#36 added protobuf for golang microservices
This commit is contained in:
16
services/Makefile
Normal file
16
services/Makefile
Normal file
@@ -0,0 +1,16 @@
|
||||
run-data-manager:
|
||||
@go run data-manager/main.go serve
|
||||
|
||||
run-ical:
|
||||
@go run ical/main.go
|
||||
|
||||
build-ical:
|
||||
@go build ical/main.go
|
||||
|
||||
gen:
|
||||
@protoc \
|
||||
--proto_path=protobuf "protobuf/modules.proto" \
|
||||
--go_out=common/genproto/modules \
|
||||
--go_opt=paths=source_relative \
|
||||
--go-grpc_out=common/genproto/modules \
|
||||
--go-grpc_opt=paths=source_relative
|
Reference in New Issue
Block a user