2016-10-14 22:11:41 +08:00
|
|
|
{
|
|
|
|
// See https://go.microsoft.com/fwlink/?LinkId=733558
|
|
|
|
// for the documentation about the tasks.json format
|
2017-04-26 13:25:46 +08:00
|
|
|
"version": "2.0.0",
|
2018-03-26 09:52:54 +08:00
|
|
|
"tasks": [
|
|
|
|
{
|
2018-06-07 14:02:54 +08:00
|
|
|
"label": "Build osu! (Debug)",
|
2017-12-11 15:31:17 +08:00
|
|
|
"type": "shell",
|
2018-03-26 09:52:54 +08:00
|
|
|
"command": "dotnet",
|
2017-04-26 13:25:46 +08:00
|
|
|
"args": [
|
2018-03-26 09:52:54 +08:00
|
|
|
"build",
|
|
|
|
"--no-restore",
|
2018-03-27 17:55:27 +08:00
|
|
|
"osu.Desktop",
|
2018-06-02 21:20:17 +08:00
|
|
|
"/p:TargetFramework=netcoreapp2.1",
|
2017-12-11 15:31:17 +08:00
|
|
|
"/p:GenerateFullPaths=true",
|
|
|
|
"/m",
|
2018-03-26 09:52:54 +08:00
|
|
|
"/verbosity:m"
|
2017-08-04 15:45:09 +08:00
|
|
|
],
|
2018-03-26 09:52:54 +08:00
|
|
|
"group": "build",
|
2017-12-11 15:31:17 +08:00
|
|
|
"problemMatcher": "$msCompile"
|
2017-04-26 13:25:46 +08:00
|
|
|
},
|
|
|
|
{
|
2018-06-07 14:02:54 +08:00
|
|
|
"label": "Build osu! (Release)",
|
2017-12-11 15:31:17 +08:00
|
|
|
"type": "shell",
|
2018-03-26 09:52:54 +08:00
|
|
|
"command": "dotnet",
|
2017-04-26 13:25:46 +08:00
|
|
|
"args": [
|
2018-03-26 09:52:54 +08:00
|
|
|
"build",
|
|
|
|
"--no-restore",
|
2018-03-27 17:55:27 +08:00
|
|
|
"osu.Desktop",
|
2018-06-02 21:20:17 +08:00
|
|
|
"/p:TargetFramework=netcoreapp2.1",
|
2017-12-11 15:31:17 +08:00
|
|
|
"/p:Configuration=Release",
|
|
|
|
"/p:GenerateFullPaths=true",
|
|
|
|
"/m",
|
2018-03-26 09:52:54 +08:00
|
|
|
"/verbosity:m"
|
2017-08-04 15:45:09 +08:00
|
|
|
],
|
2018-03-26 09:52:54 +08:00
|
|
|
"group": "build",
|
2017-12-11 15:31:17 +08:00
|
|
|
"problemMatcher": "$msCompile"
|
2017-08-04 15:45:09 +08:00
|
|
|
},
|
2018-05-29 14:18:54 +08:00
|
|
|
{
|
2018-06-07 14:02:54 +08:00
|
|
|
"label": "Build tests (Debug)",
|
2018-05-29 14:18:54 +08:00
|
|
|
"type": "shell",
|
|
|
|
"command": "dotnet",
|
|
|
|
"args": [
|
|
|
|
"build",
|
|
|
|
"--no-restore",
|
|
|
|
"osu.Game.Tests",
|
2018-06-02 21:20:17 +08:00
|
|
|
"/p:TargetFramework=netcoreapp2.1",
|
2018-05-29 14:18:54 +08:00
|
|
|
"/p:GenerateFullPaths=true",
|
|
|
|
"/m",
|
|
|
|
"/verbosity:m"
|
|
|
|
],
|
|
|
|
"group": "build",
|
|
|
|
"problemMatcher": "$msCompile"
|
|
|
|
},
|
|
|
|
{
|
2018-06-07 14:02:54 +08:00
|
|
|
"label": "Build tests (Release)",
|
2018-05-29 14:18:54 +08:00
|
|
|
"type": "shell",
|
|
|
|
"command": "dotnet",
|
|
|
|
"args": [
|
|
|
|
"build",
|
|
|
|
"--no-restore",
|
|
|
|
"osu.Game.Tests",
|
2018-06-02 21:20:17 +08:00
|
|
|
"/p:TargetFramework=netcoreapp2.1",
|
2018-05-29 14:18:54 +08:00
|
|
|
"/p:Configuration=Release",
|
|
|
|
"/p:GenerateFullPaths=true",
|
|
|
|
"/m",
|
|
|
|
"/verbosity:m"
|
|
|
|
],
|
|
|
|
"group": "build",
|
|
|
|
"problemMatcher": "$msCompile"
|
|
|
|
},
|
2018-03-26 09:52:54 +08:00
|
|
|
{
|
2018-06-02 21:20:17 +08:00
|
|
|
"label": "Restore (netcoreapp2.1)",
|
2018-03-26 09:52:54 +08:00
|
|
|
"type": "shell",
|
|
|
|
"command": "dotnet",
|
|
|
|
"args": [
|
|
|
|
"restore"
|
2017-08-04 15:45:09 +08:00
|
|
|
],
|
2018-03-26 09:52:54 +08:00
|
|
|
"problemMatcher": []
|
2016-10-14 22:11:41 +08:00
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|