mirror of
https://github.com/kevin-DL/services.git
synced 2026-01-11 19:04:35 +00:00
update all the makefiles (#111)
* update all the makefiles * add back openapi * update cache package * fix cache * update go mod
This commit is contained in:
@@ -6,10 +6,9 @@ GOPATH:=$(shell go env GOPATH)
|
||||
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.proto
|
||||
@redoc-cli bundle api-helloworld.json
|
||||
.PHONY: api
|
||||
api:
|
||||
protoc --openapi_out=. --proto_path=${GOPATH}/src:. proto/helloworld.proto
|
||||
|
||||
.PHONY: build
|
||||
build: proto
|
||||
|
||||
Reference in New Issue
Block a user