aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.cargo/config.toml1
-rw-r--r--.vscode/tasks.json122
-rw-r--r--.zed/tasks.json71
3 files changed, 194 insertions, 0 deletions
diff --git a/.cargo/config.toml b/.cargo/config.toml
index 612567f..0b45ca9 100644
--- a/.cargo/config.toml
+++ b/.cargo/config.toml
@@ -5,3 +5,4 @@ target-dir = "./.temp/target"
[alias]
ci = "run --manifest-path dev_tools/Cargo.toml --bin ci --quiet --"
+dev_tool = "run --manifest-path dev_tools/Cargo.toml --quiet --bin "
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,
+ },
+ },
+ ],
+}
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"],
+ },
+]