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

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

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

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