Files
universal-registrar/mise.toml
T
reform 8044e88be4
CI / offline-tests (push) Has been cancelled
CI / web-unit-tests (push) Has been cancelled
CI / package-console10 (push) Has been cancelled
recovered from aaronjaworski710
2026-10-23 20:02:14 +03:00

38 lines
1.1 KiB
TOML
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.
# mise — grok-register
# 工具链:mise 管 Python 版本 + venv,uv 管包
[tools]
python = "3.13"
[env]
_.python.venv = { path = ".venv", create = true }
PROJECT_ROOT = "{{config_root}}"
[tasks.deps]
run = "uv sync --extra dev"
description = "用 uv 同步依赖(含 dev/pytest)"
[tasks.check]
run = "python -m py_compile register_cli.py cpa_export.py account_backup.py grok_register_ttk.py cf_mail_debug.py"
description = "核心模块语法检查"
[tasks.test]
run = "uv run python -m pytest -q"
description = "离线单测(默认不访问真实邮箱)"
[tasks.register]
description = "跑账号注册(默认 1 个;多个用 mise run register -- --extra 5)"
run = "uv run python -u register_cli.py"
[tasks.batch10]
description = "再注册 10 个账号"
run = "uv run python -u register_cli.py --extra 10 --threads 1 --no-headless --fast"
[tasks.control-api]
run = "bash scripts/run_control_api.sh"
description = "启动 Web control plane(默认 127.0.0.1:8787)"
[tasks.mail-debug]
run = "uv run python cf_mail_debug.py"
description = "邮箱链路调试脚本"