Makefile 458 字节
.PHONY: model
model:
	goctl model mysql ddl -s .\cmd\ep\chat\deploy\database\table.sql -d cmd/ep/chat

.PHONY: api
api:
	goctl api go -api .\cmd\ep\chat\dsl\core.api -dir cmd/ep/chat/api -style go_zero

.PHONY: swagger
swagger:
	goctl api plugin -plugin goctl-swagger="swagger -filename core.json" -api .\cmd\ep\chat\dsl\core.api -dir .\cmd\ep\chat\generate

.PHONY: build
build:
	docker build -f cmd/ep/chat/deploy/docker/Dockerfile -t sumicro/chat:1.0.0 .