You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
refactor(tasks): flatten test tasks into mise.toml with inline usage
Moves all test task definitions into mise.toml using inline scripts
and the usage field for flag definitions. This is the proper way to
define flags in TOML tasks.
Changes:
- Define test task inline in mise.toml with usage field
- Move test:legacy, test:sqlx tasks to mise.toml
- Remove tasks/test.sh, tasks/rust.toml, tasks/test.toml
- Update mise.toml includes (remove rust.toml, test.toml)
Key fix:
- Use "usage" field in TOML for flag definitions
- Variables available as ${usage_postgres} in run script
- No need for separate shell script files
Structure:
mise.toml (all task definitions inline)
├─ test (inline with usage field for --postgres flag)
├─ test:legacy → tasks/test-legacy.sh
└─ test:sqlx (inline script)
CI compatibility:
✓ Accepts --postgres flag: mise run test --postgres ${VERSION}
✓ TOML usage field properly sets usage_postgres variable
✓ Simpler structure (3 files removed)
0 commit comments