Skip to content

Commit a9d838c

Browse files
committed
attempt at cleaning up launch and tasks -- I think further improvements are possible
1 parent 482a5cb commit a9d838c

2 files changed

Lines changed: 10 additions & 6 deletions

File tree

.vscode/launch.json

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,10 +10,8 @@
1010
"request": "launch",
1111
"program": "${workspaceRoot}/target/debug/mathcat.exe",
1212
"args": [],
13-
"env": {"RUST_LOG": "debug" },
1413
"cwd": "${workspaceRoot}",
1514
"preLaunchTask": "cargo build",
16-
"sourceLanguages": ["rust"],
1715
},
1816
{
1917
"name": "Run Test Debugger",
@@ -23,7 +21,6 @@
2321
"args": [],
2422
"cwd": "${workspaceFolder}",
2523
"preLaunchTask": "cargo test build",
26-
"sourceLanguages": ["rust"],
2724
}
2825
]
2926
}

.vscode/tasks.json

Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,16 @@
2121
},
2222
{
2323
"label": "cargo build",
24-
"type": "shell",
25-
"command": "cargo build",
24+
"type": "cargo",
25+
"command": "build",
26+
"args": [
27+
"--features",
28+
"include-zip" // Replace with your actual feature name
29+
],
30+
"group": {
31+
"kind": "build",
32+
"isDefault": true
33+
},
2634
"problemMatcher": [
2735
"$rustc"
2836
]
@@ -49,7 +57,6 @@
4957
],
5058
"group": {
5159
"kind": "test",
52-
"isDefault": true
5360
}
5461
}
5562
]

0 commit comments

Comments
 (0)