aboutsummaryrefslogtreecommitdiff
path: root/.vscode/tasks.json
diff options
context:
space:
mode:
author魏曹先生 <1992414357@qq.com>2026-06-24 08:01:37 +0800
committer魏曹先生 <1992414357@qq.com>2026-06-24 08:01:37 +0800
commitdaf29a92ed88135589a49dea4f370d98ac29462d (patch)
tree84e18fdf67a8c7faadb488b7c29cdd4da88c45c7 /.vscode/tasks.json
parent4491b1eb9318ea2bf3dff564caba707415f8e600 (diff)
Add dev_tool cargo alias and editor task definitions
Diffstat (limited to '.vscode/tasks.json')
-rw-r--r--.vscode/tasks.json122
1 files changed, 122 insertions, 0 deletions
diff --git a/.vscode/tasks.json b/.vscode/tasks.json
new file mode 100644
index 0000000..26460c1
--- /dev/null
+++ b/.vscode/tasks.json
@@ -0,0 +1,122 @@
+{
+ "version": "2.0.0",
+ "tasks": [
+ {
+ "label": "Mingling CI",
+ "command": "cargo ci",
+ "type": "shell",
+ "presentation": {
+ "echo": true,
+ "reveal": "always",
+ "focus": false,
+ "panel": "shared",
+ "showReuseMessage": true,
+ "clear": false,
+ },
+ },
+ {
+ "label": "TEST: All *.md Codes",
+ "command": "cargo dev_tool test-all-markdown-code",
+ "type": "shell",
+ "presentation": {
+ "echo": true,
+ "reveal": "always",
+ "focus": false,
+ "panel": "shared",
+ "showReuseMessage": true,
+ "clear": false,
+ },
+ },
+ {
+ "label": "TEST: Current *.md Codes",
+ "command": "cargo dev_tool test-all-markdown-code -- \"${fileRelative}\"",
+ "type": "shell",
+ "presentation": {
+ "echo": true,
+ "reveal": "always",
+ "focus": false,
+ "panel": "shared",
+ "showReuseMessage": true,
+ "clear": false,
+ },
+ },
+ {
+ "label": "REFRESH: All",
+ "command": "cargo dev_tool refresh-docs && cargo dev_tool docs-code-box-fix && cargo dev_tool docsify-sidebar-gen && cargo dev_tool refresh-feature-mod && cargo dev_tool sync-examples",
+ "type": "shell",
+ "presentation": {
+ "echo": true,
+ "reveal": "always",
+ "focus": false,
+ "panel": "shared",
+ "showReuseMessage": true,
+ "clear": false,
+ },
+ },
+ {
+ "label": "REFRESH: Docs Code Box Fix",
+ "command": "cargo dev_tool docs-code-box-fix",
+ "type": "shell",
+ "presentation": {
+ "echo": true,
+ "reveal": "always",
+ "focus": false,
+ "panel": "shared",
+ "showReuseMessage": true,
+ "clear": false,
+ },
+ },
+ {
+ "label": "REFRESH: Docsify Sidebar Gen",
+ "command": "cargo dev_tool docsify-sidebar-gen",
+ "type": "shell",
+ "presentation": {
+ "echo": true,
+ "reveal": "always",
+ "focus": false,
+ "panel": "shared",
+ "showReuseMessage": true,
+ "clear": false,
+ },
+ },
+ {
+ "label": "REFRESH: Docs",
+ "command": "cargo dev_tool refresh-docs",
+ "type": "shell",
+ "presentation": {
+ "echo": true,
+ "reveal": "always",
+ "focus": false,
+ "panel": "shared",
+ "showReuseMessage": true,
+ "clear": false,
+ },
+ },
+ {
+ "label": "REFRESH: Feature Mod",
+ "command": "cargo dev_tool refresh-feature-mod",
+ "type": "shell",
+ "presentation": {
+ "echo": true,
+ "reveal": "always",
+ "focus": false,
+ "panel": "shared",
+ "showReuseMessage": true,
+ "clear": false,
+ },
+ },
+ {
+ "label": "REFRESH: Sync Examples",
+ "command": "cargo dev_tool sync-examples",
+ "type": "shell",
+ "presentation": {
+ "echo": true,
+ "reveal": "always",
+ "focus": false,
+ "panel": "shared",
+ "showReuseMessage": true,
+ "clear": false,
+ },
+ },
+ ],
+}