Makefile 357 B

1234567891011121314
  1. SHELL=cmd
  2. .PHONY: all
  3. all: fmt tidy lint
  4. genRpc:
  5. cd rpc/messagecenter && goctl rpc protoc messageCenter.proto --go_out=./ --go-grpc_out=./ --zrpc_out=.
  6. @echo "===========> genRpc finish"
  7. genApi:
  8. cd api/messagecenter && goctl api go -api messagecenter.api -dir .
  9. @echo "===========> genApi finish"
  10. tidy:
  11. go mod tidy
  12. @echo "===========> tidy finish"