Update VSCode with new configurations.

This commit is contained in:
smoogipooo 2017-08-04 17:15:09 +09:30
parent fc97fdb8c1
commit 17900f3353
2 changed files with 35 additions and 28 deletions

24
.vscode/launch.json vendored
View File

@ -1,34 +1,22 @@
{ {
"version": "0.2.0", "version": "0.2.0",
"configurations": [ "configurations": [{
{ "name": "osu! (VisualTests)",
"name": "VisualTests (debug)",
"windows": { "windows": {
"type": "clr" "type": "clr"
}, },
"type": "mono", "type": "mono",
"request": "launch", "request": "launch",
"program": "${workspaceRoot}/osu.Desktop.VisualTests/bin/Debug/osu!.exe", "program": "${workspaceRoot}/osu.Desktop/bin/Debug/osu!.exe",
"args": [
"--tests"
],
"cwd": "${workspaceRoot}", "cwd": "${workspaceRoot}",
"preLaunchTask": "Build (Debug)", "preLaunchTask": "Build (Debug)",
"runtimeExecutable": null, "runtimeExecutable": null,
"env": {}, "env": {},
"console": "internalConsole" "console": "internalConsole"
}, },
{
"name": "VisualTests (release)",
"windows": {
"type": "clr"
},
"type": "mono",
"request": "launch",
"program": "${workspaceRoot}/osu.Desktop.VisualTests/bin/Release/osu!.exe",
"cwd": "${workspaceRoot}",
"preLaunchTask": "Build (Release)",
"runtimeExecutable": null,
"env": {},
"console": "internalConsole"
},
{ {
"name": "osu! (debug)", "name": "osu! (debug)",
"windows": { "windows": {

39
.vscode/tasks.json vendored
View File

@ -2,35 +2,41 @@
// See https://go.microsoft.com/fwlink/?LinkId=733558 // See https://go.microsoft.com/fwlink/?LinkId=733558
// for the documentation about the tasks.json format // for the documentation about the tasks.json format
"version": "2.0.0", "version": "2.0.0",
"problemMatcher": "$msCompile",
"isShellCommand": true,
"command": "msbuild", "command": "msbuild",
"type": "shell",
"suppressTaskName": true, "suppressTaskName": true,
"showOutput": "silent",
"args": [ "args": [
"/property:GenerateFullPaths=true", "/property:GenerateFullPaths=true",
"/property:DebugType=portable", "/property:DebugType=portable",
"/verbosity:minimal",
"/m" //parallel compiling support. "/m" //parallel compiling support.
], ],
"tasks": [ "tasks": [{
{
"taskName": "Build (Debug)", "taskName": "Build (Debug)",
"isBuildCommand": true "group": {
"kind": "build",
"isDefault": true
},
"problemMatcher": [
"$msCompile"
]
}, },
{ {
"taskName": "Build (Release)", "taskName": "Build (Release)",
"args": [ "args": [
"/property:Configuration=Release" "/property:Configuration=Release"
],
"problemMatcher": [
"$msCompile"
] ]
}, },
{
"taskName": "Clean All",
"dependsOn": ["Clean (Debug)", "Clean (Release)"]
},
{ {
"taskName": "Clean (Debug)", "taskName": "Clean (Debug)",
"args": [ "args": [
"/target:Clean" "/target:Clean"
],
"problemMatcher": [
"$msCompile"
] ]
}, },
{ {
@ -38,6 +44,19 @@
"args": [ "args": [
"/target:Clean", "/target:Clean",
"/property:Configuration=Release" "/property:Configuration=Release"
],
"problemMatcher": [
"$msCompile"
]
},
{
"taskName": "Clean All",
"dependsOn": [
"Clean (Debug)",
"Clean (Release)"
],
"problemMatcher": [
"$msCompile"
] ]
} }
] ]