diff --git a/.vscode/launch.json b/.vscode/launch.json index 4573f97..7e26136 100644 --- a/.vscode/launch.json +++ b/.vscode/launch.json @@ -4,6 +4,30 @@ // For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387 "version": "0.2.0", "configurations": [ + { + "name": "Launch", + "type": "cppvsdbg", + "request": "launch", + "program": "target/debug/minetest-mumble-wrapper", + "args": [], + "stopAtEntry": false, + "cwd": "${workspaceFolder}", + "environment": [], + "preLaunchTask": "cargo build", + "externalConsole": true + }, + { + "name": "Launch (Release)", + "type": "cppvsdbg", + "request": "launch", + "program": "target/release/minetest-mumble-wrapper", + "args": [], + "stopAtEntry": false, + "cwd": "${workspaceFolder}", + "environment": [], + "preLaunchTask": "cargo build release", + "externalConsole": true + }, { "type": "lldb", "request": "launch", diff --git a/.vscode/tasks.json b/.vscode/tasks.json new file mode 100644 index 0000000..6cf6061 --- /dev/null +++ b/.vscode/tasks.json @@ -0,0 +1,34 @@ +{ + // See https://go.microsoft.com/fwlink/?LinkId=733558 + // for the documentation about the tasks.json format + "version": "2.0.0", + "tasks": [ + { + "label": "cargo build", + "type": "shell", + "command": "cargo build", + "group": { + "kind": "build", + "isDefault": true + } + }, + { + "label": "cargo build release", + "type": "shell", + "command": "cargo build --release", + "group": { + "kind": "build", + "isDefault": true + } + }, + { + "label": "cargo test", + "type": "shell", + "command": "cargo test", + "group": { + "kind": "test", + "isDefault": true + } + } + ] +} \ No newline at end of file