Skip to content

Commit

Permalink
feat: edit Makefile.
Browse files Browse the repository at this point in the history
  • Loading branch information
tx7do committed May 30, 2023
1 parent 2a36928 commit fb53b3e
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions blog-backend/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -34,13 +34,12 @@ ent:

# generate protobuf api go code
api:
cd $(lastword $(dir $(realpath $(SRCS_MK))));\
make api;
buf generate

# generate OpenAPI v3 docs.
openapi:
cd $(lastword $(dir $(realpath $(SRCS_MK))));\
make openapi;
buf generate --path api/admin/service/v1 --template api/admin/service/v1/buf.openapi.gen.yaml
buf generate --path api/front/service/v1 --template api/front/service/v1/buf.openapi.gen.yaml

# initialize develop environment
init:
Expand Down

0 comments on commit fb53b3e

Please sign in to comment.