mirror of
https://github.com/kevin-DL/services.git
synced 2026-01-11 19:04:35 +00:00
fix docs builds for helloworld and streams
This commit is contained in:
@@ -4,12 +4,12 @@ GOPATH:=$(shell go env GOPATH)
|
||||
|
||||
.PHONY: proto
|
||||
proto:
|
||||
protoc --openapi_out=. --proto_path=${GOPATH}/src:. --micro_out=. --go_out=. proto/helloworld/helloworld.proto
|
||||
protoc --openapi_out=. --proto_path=${GOPATH}/src:. --micro_out=. --go_out=. proto/helloworld.proto
|
||||
|
||||
.PHONY: docs
|
||||
docs:
|
||||
protoc --openapi_out=. --proto_path=${GOPATH}/src:. --micro_out=. --go_out=. proto/helloworld/helloworld.proto
|
||||
@redoc-cli bundle api-protobuf.json
|
||||
protoc --openapi_out=. --proto_path=${GOPATH}/src:. --micro_out=. --go_out=. proto/helloworld.proto
|
||||
@redoc-cli bundle api-helloworld.json
|
||||
|
||||
.PHONY: build
|
||||
build: proto
|
||||
|
||||
Reference in New Issue
Block a user