Windows tasks

This commit is contained in:
christian 2020-01-11 18:14:00 +01:00
parent b5f2221379
commit cb9410f7ee
2 changed files with 33 additions and 0 deletions

14
.vscode/launch.json vendored
View file

@ -24,6 +24,20 @@
}, },
"args": [], "args": [],
"cwd": "${workspaceFolder}" "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
View file

@ -22,5 +22,24 @@
} }
} }
}, },
{
"type": "shell",
"label": "Build RMusicBot",
"command": "cargo build",
"args": [],
"problemMatcher": [
"$rustc"
],
"presentation": {
"clear": true
},
"linux": {
"options": {
"env": {
"RUST_BACKTRACE": "1",
}
}
}
},
] ]
} }