Skip to content

feat: let the task file declare its runtimes and default task - #149

Merged
harehare merged 1 commit into
mainfrom
feat/document-runtimes
Oct 20, 2026
Merged

harehare merged 1 commit into
mainfrom
feat/document-runtimes

Conversation

@harehare

Copy link
Copy Markdown
Owner

The document-wide meta block accepts runtimes (same form as [runtimes] in mq-task.toml) and default_task, so one Markdown file can carry everything it needs. Precedence: -r on the command line, then the languages set in mq-task.toml, then the task file, then the built-in defaults; the main file's runtimes beat an imported file's. check uses the runtimes in effect after loading and reports a default_task that names no task.

@harehare
harehare added this pull request to stack #150 October 19, 2026 14:21
@harehare
harehare force-pushed the feat/document-runtimes branch from 733bc18 to 7180b11 Compare October 19, 2026 14:50
Base automatically changed from feat/check-script-references to main October 20, 2026 00:07
The document-wide meta block accepts runtimes (same form as [runtimes] in mq-task.toml) and default_task, so one Markdown file can carry everything it needs. Precedence: -r on the command line, then the languages set in mq-task.toml, then the task file, then the built-in defaults; the main file's runtimes beat an imported file's. check uses the runtimes in effect after loading and reports a default_task that names no task.
@harehare
harehare force-pushed the feat/document-runtimes branch from 7180b11 to c4d1c72 Compare October 20, 2026 00:07
@harehare
harehare merged commit 7ac37b7 into main Oct 20, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant