From daf29a92ed88135589a49dea4f370d98ac29462d Mon Sep 17 00:00:00 2001 From: 魏曹先生 <1992414357@qq.com> Date: Wed, 24 Jun 2026 08:01:37 +0800 Subject: Add dev_tool cargo alias and editor task definitions --- .zed/tasks.json | 71 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 71 insertions(+) create mode 100644 .zed/tasks.json (limited to '.zed/tasks.json') diff --git a/.zed/tasks.json b/.zed/tasks.json new file mode 100644 index 0000000..550d950 --- /dev/null +++ b/.zed/tasks.json @@ -0,0 +1,71 @@ +[ + { + "label": "Mingling CI", + "command": "cargo ci", + "use_new_terminal": true, + "allow_concurrent_runs": false, + "hide": "on_success", + "save": "all", + }, + { + "label": "TEST: All *.md Codes", + "command": "cargo dev_tool test-all-markdown-code", + "use_new_terminal": true, + "allow_concurrent_runs": true, + "hide": "on_success", + "save": "all", + }, + { + "label": "TEST: Current *.md Codes", + "command": "cargo dev_tool test-all-markdown-code -- \"$ZED_RELATIVE_FILE\"", + "use_new_terminal": true, + "allow_concurrent_runs": true, + "hide": "on_success", + "save": "all", + }, + { + "label": "REFRESH: Docs Code Box Fix", + "command": "cargo dev_tool docs-code-box-fix", + "use_new_terminal": true, + "allow_concurrent_runs": true, + "hide": "on_success", + "save": "all", + "tags": ["refresh"], + }, + { + "label": "REFRESH: Docsify Sidebar Gen", + "command": "cargo dev_tool docsify-sidebar-gen", + "use_new_terminal": true, + "allow_concurrent_runs": true, + "hide": "on_success", + "save": "all", + "tags": ["refresh"], + }, + { + "label": "REFRESH: Docs", + "command": "cargo dev_tool refresh-docs", + "use_new_terminal": true, + "allow_concurrent_runs": true, + "hide": "on_success", + "save": "all", + "tags": ["refresh"], + }, + { + "label": "REFRESH: Feature Mod", + "command": "cargo dev_tool refresh-feature-mod", + "use_new_terminal": true, + "allow_concurrent_runs": true, + "hide": "on_success", + "save": "all", + "tags": ["refresh"], + }, + { + "label": "REFRESH: Sync Examples", + "command": "cargo dev_tool sync-examples", + "use_new_terminal": true, + "allow_concurrent_runs": true, + "hide": "on_success", + "save": "all", + "tags": ["refresh"], + }, +] -- cgit