From 9d16ec71de1d0b285d781d9ee46268a946420120 Mon Sep 17 00:00:00 2001 From: Asim Aslam Date: Wed, 2 Jun 2021 11:51:28 +0100 Subject: [PATCH] update sentiment makefile --- sentiment/Makefile | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/sentiment/Makefile b/sentiment/Makefile index 7b9f6e0..b47aaa3 100644 --- a/sentiment/Makefile +++ b/sentiment/Makefile @@ -9,10 +9,14 @@ init: proto: protoc --openapi_out=. --proto_path=. --micro_out=. --go_out=:. proto/sentiment.proto + +.PHONY: api +api: + protoc --openapi_out=. --proto_path=. proto/sentiment.proto + .PHONY: docs docs: protoc --openapi_out=. --proto_path=. --micro_out=. --go_out=:. proto/sentiment.proto - @redoc-cli bundle api-sentiment.json .PHONY: build build: