Windows tasks
This commit is contained in:
parent
b5f2221379
commit
cb9410f7ee
2 changed files with 33 additions and 0 deletions
14
.vscode/launch.json
vendored
14
.vscode/launch.json
vendored
|
@ -24,6 +24,20 @@
|
|||
},
|
||||
"args": [],
|
||||
"cwd": "${workspaceFolder}"
|
||||
},
|
||||
{
|
||||
"type": "cppvsdbg",
|
||||
"request": "launch",
|
||||
"name": "Debug RMusicBot(windows)",
|
||||
"program": "${workspaceRoot}/target/debug/RMusicBot.exe",
|
||||
"linux": {
|
||||
"env": {
|
||||
"RUST_BACKTRACE": "1"
|
||||
}
|
||||
},
|
||||
"args": [],
|
||||
"cwd": "${workspaceRoot}",
|
||||
"preLaunchTask": "Build RMusicBot"
|
||||
}
|
||||
]
|
||||
}
|
19
.vscode/tasks.json
vendored
19
.vscode/tasks.json
vendored
|
@ -22,5 +22,24 @@
|
|||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"type": "shell",
|
||||
"label": "Build RMusicBot",
|
||||
"command": "cargo build",
|
||||
"args": [],
|
||||
"problemMatcher": [
|
||||
"$rustc"
|
||||
],
|
||||
"presentation": {
|
||||
"clear": true
|
||||
},
|
||||
"linux": {
|
||||
"options": {
|
||||
"env": {
|
||||
"RUST_BACKTRACE": "1",
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
]
|
||||
}
|
Loading…
Reference in a new issue