mirror of
https://github.com/ppy/osu
synced 2024-12-30 19:02:27 +00:00
74fa336693
Adds debug/release launching. Cleans up much. Also updates tasks.json schema to 2.0.0 which supports multiple commands. Can't use until https://github.com/Microsoft/vscode/issues/22250 is fixed.
50 lines
1.3 KiB
JSON
50 lines
1.3 KiB
JSON
{
|
|
// See https://go.microsoft.com/fwlink/?LinkId=733558
|
|
// for the documentation about the tasks.json format
|
|
"version": "2.0.0",
|
|
"problemMatcher": "$msCompile",
|
|
"isShellCommand": true,
|
|
"command": "msbuild",
|
|
"suppressTaskName": true,
|
|
"showOutput": "silent",
|
|
"args": [
|
|
"/property:GenerateFullPaths=true",
|
|
"/property:DebugType=portable"
|
|
],
|
|
"windows": {
|
|
"args": [
|
|
"/property:GenerateFullPaths=true",
|
|
"/property:DebugType=portable",
|
|
"/m" //parallel compiling support. doesn't work well with mono atm
|
|
]
|
|
},
|
|
"tasks": [
|
|
{
|
|
"taskName": "Build (Debug)",
|
|
"isBuildCommand": true
|
|
},
|
|
{
|
|
"taskName": "Build (Release)",
|
|
"args": [
|
|
"/property:Configuration=Release"
|
|
]
|
|
},
|
|
{
|
|
"taskName": "Clean All",
|
|
"dependsOn": ["Clean (Debug)", "Clean (Release)"]
|
|
},
|
|
{
|
|
"taskName": "Clean (Debug)",
|
|
"args": [
|
|
"/target:Clean"
|
|
]
|
|
},
|
|
{
|
|
"taskName": "Clean (Release)",
|
|
"args": [
|
|
"/target:Clean",
|
|
"/property:Configuration=Release"
|
|
]
|
|
}
|
|
]
|
|
} |