mirror of
https://github.com/ppy/osu.git
synced 2025-01-21 08:52:54 +08:00
Merge pull request #10865 from ekrctb/tasks-json-restore
This commit is contained in:
commit
163f5cafb9
17
.vscode/tasks.json
vendored
17
.vscode/tasks.json
vendored
@ -9,7 +9,6 @@
|
|||||||
"command": "dotnet",
|
"command": "dotnet",
|
||||||
"args": [
|
"args": [
|
||||||
"build",
|
"build",
|
||||||
"--no-restore",
|
|
||||||
"osu.Desktop",
|
"osu.Desktop",
|
||||||
"-p:GenerateFullPaths=true",
|
"-p:GenerateFullPaths=true",
|
||||||
"-m",
|
"-m",
|
||||||
@ -24,7 +23,6 @@
|
|||||||
"command": "dotnet",
|
"command": "dotnet",
|
||||||
"args": [
|
"args": [
|
||||||
"build",
|
"build",
|
||||||
"--no-restore",
|
|
||||||
"osu.Desktop",
|
"osu.Desktop",
|
||||||
"-p:Configuration=Release",
|
"-p:Configuration=Release",
|
||||||
"-p:GenerateFullPaths=true",
|
"-p:GenerateFullPaths=true",
|
||||||
@ -40,7 +38,6 @@
|
|||||||
"command": "dotnet",
|
"command": "dotnet",
|
||||||
"args": [
|
"args": [
|
||||||
"build",
|
"build",
|
||||||
"--no-restore",
|
|
||||||
"osu.Game.Tests",
|
"osu.Game.Tests",
|
||||||
"-p:GenerateFullPaths=true",
|
"-p:GenerateFullPaths=true",
|
||||||
"-m",
|
"-m",
|
||||||
@ -55,7 +52,6 @@
|
|||||||
"command": "dotnet",
|
"command": "dotnet",
|
||||||
"args": [
|
"args": [
|
||||||
"build",
|
"build",
|
||||||
"--no-restore",
|
|
||||||
"osu.Game.Tests",
|
"osu.Game.Tests",
|
||||||
"-p:Configuration=Release",
|
"-p:Configuration=Release",
|
||||||
"-p:GenerateFullPaths=true",
|
"-p:GenerateFullPaths=true",
|
||||||
@ -71,7 +67,6 @@
|
|||||||
"command": "dotnet",
|
"command": "dotnet",
|
||||||
"args": [
|
"args": [
|
||||||
"build",
|
"build",
|
||||||
"--no-restore",
|
|
||||||
"osu.Game.Tournament.Tests",
|
"osu.Game.Tournament.Tests",
|
||||||
"-p:GenerateFullPaths=true",
|
"-p:GenerateFullPaths=true",
|
||||||
"-m",
|
"-m",
|
||||||
@ -86,7 +81,6 @@
|
|||||||
"command": "dotnet",
|
"command": "dotnet",
|
||||||
"args": [
|
"args": [
|
||||||
"build",
|
"build",
|
||||||
"--no-restore",
|
|
||||||
"osu.Game.Tournament.Tests",
|
"osu.Game.Tournament.Tests",
|
||||||
"-p:Configuration=Release",
|
"-p:Configuration=Release",
|
||||||
"-p:GenerateFullPaths=true",
|
"-p:GenerateFullPaths=true",
|
||||||
@ -102,7 +96,6 @@
|
|||||||
"command": "dotnet",
|
"command": "dotnet",
|
||||||
"args": [
|
"args": [
|
||||||
"build",
|
"build",
|
||||||
"--no-restore",
|
|
||||||
"osu.Game.Benchmarks",
|
"osu.Game.Benchmarks",
|
||||||
"-p:Configuration=Release",
|
"-p:Configuration=Release",
|
||||||
"-p:GenerateFullPaths=true",
|
"-p:GenerateFullPaths=true",
|
||||||
@ -111,16 +104,6 @@
|
|||||||
],
|
],
|
||||||
"group": "build",
|
"group": "build",
|
||||||
"problemMatcher": "$msCompile"
|
"problemMatcher": "$msCompile"
|
||||||
},
|
|
||||||
{
|
|
||||||
"label": "Restore (netcoreapp3.1)",
|
|
||||||
"type": "shell",
|
|
||||||
"command": "dotnet",
|
|
||||||
"args": [
|
|
||||||
"restore",
|
|
||||||
"build/Desktop.proj"
|
|
||||||
],
|
|
||||||
"problemMatcher": []
|
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
@ -75,7 +75,6 @@ git pull
|
|||||||
Build configurations for the recommended IDEs (listed above) are included. You should use the provided Build/Run functionality of your IDE to get things going. When testing or building new components, it's highly encouraged you use the `VisualTests` project/configuration. More information on this is provided [below](#contributing).
|
Build configurations for the recommended IDEs (listed above) are included. You should use the provided Build/Run functionality of your IDE to get things going. When testing or building new components, it's highly encouraged you use the `VisualTests` project/configuration. More information on this is provided [below](#contributing).
|
||||||
|
|
||||||
- Visual Studio / Rider users should load the project via one of the platform-specific `.slnf` files, rather than the main `.sln.` This will allow access to template run configurations.
|
- Visual Studio / Rider users should load the project via one of the platform-specific `.slnf` files, rather than the main `.sln.` This will allow access to template run configurations.
|
||||||
- Visual Studio Code users must run the `Restore` task before any build attempt.
|
|
||||||
|
|
||||||
You can also build and run *osu!* from the command-line with a single command:
|
You can also build and run *osu!* from the command-line with a single command:
|
||||||
|
|
||||||
|
11
osu.Game.Rulesets.Catch.Tests/.vscode/tasks.json
vendored
11
osu.Game.Rulesets.Catch.Tests/.vscode/tasks.json
vendored
@ -9,7 +9,6 @@
|
|||||||
"command": "dotnet",
|
"command": "dotnet",
|
||||||
"args": [
|
"args": [
|
||||||
"build",
|
"build",
|
||||||
"--no-restore",
|
|
||||||
"osu.Game.Rulesets.Catch.Tests.csproj",
|
"osu.Game.Rulesets.Catch.Tests.csproj",
|
||||||
"-p:GenerateFullPaths=true",
|
"-p:GenerateFullPaths=true",
|
||||||
"-m",
|
"-m",
|
||||||
@ -24,7 +23,6 @@
|
|||||||
"command": "dotnet",
|
"command": "dotnet",
|
||||||
"args": [
|
"args": [
|
||||||
"build",
|
"build",
|
||||||
"--no-restore",
|
|
||||||
"osu.Game.Rulesets.Catch.Tests.csproj",
|
"osu.Game.Rulesets.Catch.Tests.csproj",
|
||||||
"-p:Configuration=Release",
|
"-p:Configuration=Release",
|
||||||
"-p:GenerateFullPaths=true",
|
"-p:GenerateFullPaths=true",
|
||||||
@ -33,15 +31,6 @@
|
|||||||
],
|
],
|
||||||
"group": "build",
|
"group": "build",
|
||||||
"problemMatcher": "$msCompile"
|
"problemMatcher": "$msCompile"
|
||||||
},
|
|
||||||
{
|
|
||||||
"label": "Restore",
|
|
||||||
"type": "shell",
|
|
||||||
"command": "dotnet",
|
|
||||||
"args": [
|
|
||||||
"restore"
|
|
||||||
],
|
|
||||||
"problemMatcher": []
|
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
11
osu.Game.Rulesets.Mania.Tests/.vscode/tasks.json
vendored
11
osu.Game.Rulesets.Mania.Tests/.vscode/tasks.json
vendored
@ -9,7 +9,6 @@
|
|||||||
"command": "dotnet",
|
"command": "dotnet",
|
||||||
"args": [
|
"args": [
|
||||||
"build",
|
"build",
|
||||||
"--no-restore",
|
|
||||||
"osu.Game.Rulesets.Mania.Tests.csproj",
|
"osu.Game.Rulesets.Mania.Tests.csproj",
|
||||||
"-p:GenerateFullPaths=true",
|
"-p:GenerateFullPaths=true",
|
||||||
"-m",
|
"-m",
|
||||||
@ -24,7 +23,6 @@
|
|||||||
"command": "dotnet",
|
"command": "dotnet",
|
||||||
"args": [
|
"args": [
|
||||||
"build",
|
"build",
|
||||||
"--no-restore",
|
|
||||||
"osu.Game.Rulesets.Mania.Tests.csproj",
|
"osu.Game.Rulesets.Mania.Tests.csproj",
|
||||||
"-p:Configuration=Release",
|
"-p:Configuration=Release",
|
||||||
"-p:GenerateFullPaths=true",
|
"-p:GenerateFullPaths=true",
|
||||||
@ -33,15 +31,6 @@
|
|||||||
],
|
],
|
||||||
"group": "build",
|
"group": "build",
|
||||||
"problemMatcher": "$msCompile"
|
"problemMatcher": "$msCompile"
|
||||||
},
|
|
||||||
{
|
|
||||||
"label": "Restore",
|
|
||||||
"type": "shell",
|
|
||||||
"command": "dotnet",
|
|
||||||
"args": [
|
|
||||||
"restore"
|
|
||||||
],
|
|
||||||
"problemMatcher": []
|
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
11
osu.Game.Rulesets.Osu.Tests/.vscode/tasks.json
vendored
11
osu.Game.Rulesets.Osu.Tests/.vscode/tasks.json
vendored
@ -9,7 +9,6 @@
|
|||||||
"command": "dotnet",
|
"command": "dotnet",
|
||||||
"args": [
|
"args": [
|
||||||
"build",
|
"build",
|
||||||
"--no-restore",
|
|
||||||
"osu.Game.Rulesets.Osu.Tests.csproj",
|
"osu.Game.Rulesets.Osu.Tests.csproj",
|
||||||
"-p:GenerateFullPaths=true",
|
"-p:GenerateFullPaths=true",
|
||||||
"-m",
|
"-m",
|
||||||
@ -24,7 +23,6 @@
|
|||||||
"command": "dotnet",
|
"command": "dotnet",
|
||||||
"args": [
|
"args": [
|
||||||
"build",
|
"build",
|
||||||
"--no-restore",
|
|
||||||
"osu.Game.Rulesets.Osu.Tests.csproj",
|
"osu.Game.Rulesets.Osu.Tests.csproj",
|
||||||
"-p:Configuration=Release",
|
"-p:Configuration=Release",
|
||||||
"-p:GenerateFullPaths=true",
|
"-p:GenerateFullPaths=true",
|
||||||
@ -33,15 +31,6 @@
|
|||||||
],
|
],
|
||||||
"group": "build",
|
"group": "build",
|
||||||
"problemMatcher": "$msCompile"
|
"problemMatcher": "$msCompile"
|
||||||
},
|
|
||||||
{
|
|
||||||
"label": "Restore",
|
|
||||||
"type": "shell",
|
|
||||||
"command": "dotnet",
|
|
||||||
"args": [
|
|
||||||
"restore"
|
|
||||||
],
|
|
||||||
"problemMatcher": []
|
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
11
osu.Game.Rulesets.Taiko.Tests/.vscode/tasks.json
vendored
11
osu.Game.Rulesets.Taiko.Tests/.vscode/tasks.json
vendored
@ -9,7 +9,6 @@
|
|||||||
"command": "dotnet",
|
"command": "dotnet",
|
||||||
"args": [
|
"args": [
|
||||||
"build",
|
"build",
|
||||||
"--no-restore",
|
|
||||||
"osu.Game.Rulesets.Taiko.Tests.csproj",
|
"osu.Game.Rulesets.Taiko.Tests.csproj",
|
||||||
"-p:GenerateFullPaths=true",
|
"-p:GenerateFullPaths=true",
|
||||||
"-m",
|
"-m",
|
||||||
@ -24,7 +23,6 @@
|
|||||||
"command": "dotnet",
|
"command": "dotnet",
|
||||||
"args": [
|
"args": [
|
||||||
"build",
|
"build",
|
||||||
"--no-restore",
|
|
||||||
"osu.Game.Rulesets.Taiko.Tests.csproj",
|
"osu.Game.Rulesets.Taiko.Tests.csproj",
|
||||||
"-p:Configuration=Release",
|
"-p:Configuration=Release",
|
||||||
"-p:GenerateFullPaths=true",
|
"-p:GenerateFullPaths=true",
|
||||||
@ -33,15 +31,6 @@
|
|||||||
],
|
],
|
||||||
"group": "build",
|
"group": "build",
|
||||||
"problemMatcher": "$msCompile"
|
"problemMatcher": "$msCompile"
|
||||||
},
|
|
||||||
{
|
|
||||||
"label": "Restore",
|
|
||||||
"type": "shell",
|
|
||||||
"command": "dotnet",
|
|
||||||
"args": [
|
|
||||||
"restore"
|
|
||||||
],
|
|
||||||
"problemMatcher": []
|
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
11
osu.Game.Tournament.Tests/.vscode/tasks.json
vendored
11
osu.Game.Tournament.Tests/.vscode/tasks.json
vendored
@ -9,7 +9,6 @@
|
|||||||
"command": "dotnet",
|
"command": "dotnet",
|
||||||
"args": [
|
"args": [
|
||||||
"build",
|
"build",
|
||||||
"--no-restore",
|
|
||||||
"osu.Game.Tournament.Tests.csproj",
|
"osu.Game.Tournament.Tests.csproj",
|
||||||
"-p:GenerateFullPaths=true",
|
"-p:GenerateFullPaths=true",
|
||||||
"-m",
|
"-m",
|
||||||
@ -24,7 +23,6 @@
|
|||||||
"command": "dotnet",
|
"command": "dotnet",
|
||||||
"args": [
|
"args": [
|
||||||
"build",
|
"build",
|
||||||
"--no-restore",
|
|
||||||
"osu.Game.Tournament.Tests.csproj",
|
"osu.Game.Tournament.Tests.csproj",
|
||||||
"-p:Configuration=Release",
|
"-p:Configuration=Release",
|
||||||
"-p:GenerateFullPaths=true",
|
"-p:GenerateFullPaths=true",
|
||||||
@ -33,15 +31,6 @@
|
|||||||
],
|
],
|
||||||
"group": "build",
|
"group": "build",
|
||||||
"problemMatcher": "$msCompile"
|
"problemMatcher": "$msCompile"
|
||||||
},
|
|
||||||
{
|
|
||||||
"label": "Restore",
|
|
||||||
"type": "shell",
|
|
||||||
"command": "dotnet",
|
|
||||||
"args": [
|
|
||||||
"restore"
|
|
||||||
],
|
|
||||||
"problemMatcher": []
|
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
Loading…
Reference in New Issue
Block a user