Skip to content

Commit

Permalink
update vscode launch jsons
Browse files Browse the repository at this point in the history
  • Loading branch information
mbrav committed Apr 4, 2023
1 parent 14489aa commit d3b2110
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 13 deletions.
15 changes: 14 additions & 1 deletion .vscode/launch.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,20 @@
"args": [
"proxy-police"
],
"env": {},
"preLaunchTask": "rust: cargo build"
}
},
{
"name": "Rust: Launch Release",
"type": "lldb",
"request": "launch",
"program": "${workspaceFolder}/git_raider/target/release/git-raider",
"args": [
"proxy-police"
],
"env": {},
"cwd": "${workspaceFolder}",
"preLaunchTask": "rust: cargo build release"
},
]
}
24 changes: 12 additions & 12 deletions .vscode/tasks.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,18 @@
},
"label": "rust: cargo build",
},
{
"type": "cargo",
"command": "build",
"problemMatcher": [
"$rustc"
],
"group": "build",
"args": [
"--release"
],
"label": "rust: cargo build release",
},
{
"type": "cargo",
"command": "clippy",
Expand All @@ -33,18 +45,6 @@
"group": "build",
"label": "rust: cargo clippy fix",
},
{
"type": "cargo",
"command": "build",
"problemMatcher": [
"$rustc"
],
"group": "build",
"args": [
"--release"
],
"label": "rust: cargo build release",
},
{
"type": "shell",
"group": "build",
Expand Down

0 comments on commit d3b2110

Please sign in to comment.