From 0d3d8f9c60cf706639edcf5737698593b68f14c8 Mon Sep 17 00:00:00 2001 From: Asim Aslam Date: Thu, 1 Jul 2021 12:40:17 +0100 Subject: [PATCH] Add api to makefile --- email/Makefile | 3 +++ 1 file changed, 3 insertions(+) diff --git a/email/Makefile b/email/Makefile index 7b2c4c1..0aebc7e 100644 --- a/email/Makefile +++ b/email/Makefile @@ -5,6 +5,9 @@ init: go get -u github.com/golang/protobuf/proto go get -u github.com/golang/protobuf/protoc-gen-go go get github.com/micro/micro/v3/cmd/protoc-gen-micro +.PHONY: api +api: + protoc --openapi_out=. --proto_path=. proto/email.proto .PHONY: proto proto: protoc --proto_path=. --micro_out=. --go_out=:. proto/email.proto