Skip to content

Commit

Permalink
fix vscode tasks
Browse files Browse the repository at this point in the history
  • Loading branch information
chalharu committed Dec 27, 2018
1 parent 7dac144 commit be5efff
Show file tree
Hide file tree
Showing 2 changed files with 25 additions and 20 deletions.
31 changes: 18 additions & 13 deletions .vscode/launch.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,29 +5,34 @@
"type": "lldb",
"request": "launch",
"name": "Debug Test",
"program": "${workspaceRoot}/target/debug/deps/compression-33f748de75300242",
"args": [
"--nocapture"
],
"cwd": "${workspaceRoot}",
"cargo": {
"args": [
"+nightly",
"test",
"--no-run",
]
},
"args": [],
"cwd": "${workspaceFolder}",
"sourceLanguages": [
"rust"
],
"preLaunchTask": "cargo build test",
"internalConsoleOptions": "openOnSessionStart"
]
},
{
"type": "lldb",
"request": "launch",
"name": "Debug",
"program": "${workspaceRoot}/target/debug/chfft",
"cargo": {
"args": [
"+nightly",
"build"
]
},
"args": [],
"cwd": "${workspaceRoot}",
"cwd": "${workspaceFolder}",
"sourceLanguages": [
"rust"
],
"preLaunchTask": "cargo build",
"internalConsoleOptions": "openOnSessionStart"
]
}
]
}
14 changes: 7 additions & 7 deletions .vscode/tasks.json
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
{
"version": "2.0.0",
"presentation": {
"reveal": "always",
"panel": "new"
"panel": "dedicated",
"clear": true
},
"tasks": [
{
"taskName": "cargo build",
"label": "cargo build",
"type": "shell",
"command": "cargo",
"args": [
Expand All @@ -19,7 +19,7 @@
"problemMatcher": "$rustc"
},
{
"taskName": "cargo build test",
"label": "cargo build test",
"type": "shell",
"command": "cargo",
"args": [
Expand All @@ -30,7 +30,7 @@
"problemMatcher": "$rustc"
},
{
"taskName": "cargo run",
"label": "cargo run",
"type": "shell",
"command": "cargo",
"args": [
Expand All @@ -39,7 +39,7 @@
"problemMatcher": "$rustc"
},
{
"taskName": "cargo test",
"label": "cargo test",
"type": "shell",
"command": "cargo",
"args": [
Expand All @@ -49,7 +49,7 @@
"problemMatcher": "$rustc"
},
{
"taskName": "cargo clean",
"label": "cargo clean",
"type": "shell",
"command": "cargo",
"args": [
Expand Down

0 comments on commit be5efff

Please sign in to comment.