Files
trading_assistant/code/Makefile
2026-02-06 15:49:59 +08:00

20 lines
470 B
Makefile
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# 单独启动某一个业务如usermake up-svc svc=user
up-svc:
docker compose up -d $(svc)
# 全局停止所有服务
down:
docker compose down
# 清理无用镜像/容器(团队开发环境,定期清理)
clean:
docker system prune -f
# 初始化Go工作区新成员拉取代码后一键执行
go-init:
go work init
go work use ./common
go work use ./services/user
go work use ./services/order
go work use ./services/pay
go mod tidy