mirror of
https://github.com/ppy/osu.git
synced 2024-11-06 10:47:28 +08:00
e73442c862
This doesn't actually remove the targets just yet (that will require a bit more work), but rather remove the target options from our IDE configurations to reduce accidental usage of net471/mono.
82 lines
2.3 KiB
JSON
82 lines
2.3 KiB
JSON
{
|
|
// See https://go.microsoft.com/fwlink/?LinkId=733558
|
|
// for the documentation about the tasks.json format
|
|
"version": "2.0.0",
|
|
"tasks": [
|
|
{
|
|
"label": "Build osu! (Debug)",
|
|
"type": "shell",
|
|
"command": "dotnet",
|
|
"args": [
|
|
"build",
|
|
"--no-restore",
|
|
"osu.Desktop",
|
|
"/p:TargetFramework=netcoreapp2.1",
|
|
"/p:GenerateFullPaths=true",
|
|
"/m",
|
|
"/verbosity:m"
|
|
],
|
|
"group": "build",
|
|
"problemMatcher": "$msCompile"
|
|
},
|
|
{
|
|
"label": "Build osu! (Release)",
|
|
"type": "shell",
|
|
"command": "dotnet",
|
|
"args": [
|
|
"build",
|
|
"--no-restore",
|
|
"osu.Desktop",
|
|
"/p:TargetFramework=netcoreapp2.1",
|
|
"/p:Configuration=Release",
|
|
"/p:GenerateFullPaths=true",
|
|
"/m",
|
|
"/verbosity:m"
|
|
],
|
|
"group": "build",
|
|
"problemMatcher": "$msCompile"
|
|
},
|
|
{
|
|
"label": "Build tests (Debug)",
|
|
"type": "shell",
|
|
"command": "dotnet",
|
|
"args": [
|
|
"build",
|
|
"--no-restore",
|
|
"osu.Game.Tests",
|
|
"/p:TargetFramework=netcoreapp2.1",
|
|
"/p:GenerateFullPaths=true",
|
|
"/m",
|
|
"/verbosity:m"
|
|
],
|
|
"group": "build",
|
|
"problemMatcher": "$msCompile"
|
|
},
|
|
{
|
|
"label": "Build tests (Release)",
|
|
"type": "shell",
|
|
"command": "dotnet",
|
|
"args": [
|
|
"build",
|
|
"--no-restore",
|
|
"osu.Game.Tests",
|
|
"/p:TargetFramework=netcoreapp2.1",
|
|
"/p:Configuration=Release",
|
|
"/p:GenerateFullPaths=true",
|
|
"/m",
|
|
"/verbosity:m"
|
|
],
|
|
"group": "build",
|
|
"problemMatcher": "$msCompile"
|
|
},
|
|
{
|
|
"label": "Restore (netcoreapp2.1)",
|
|
"type": "shell",
|
|
"command": "dotnet",
|
|
"args": [
|
|
"restore"
|
|
],
|
|
"problemMatcher": []
|
|
}
|
|
]
|
|
} |