mirror of
https://github.com/ppy/osu.git
synced 2024-12-14 06:12:56 +08:00
Remove the usage of windows nuget restore and replace it with dotnet restore
This commit is contained in:
parent
1a03ef13f4
commit
2763f0be6b
@ -1,7 +1,6 @@
|
||||
#addin "nuget:?package=CodeFileSanity"
|
||||
#addin "nuget:?package=JetBrains.ReSharper.CommandLineTools"
|
||||
#tool "nuget:?package=NVika.MSBuild"
|
||||
#tool "nuget:?package=NuGet.CommandLine"
|
||||
|
||||
///////////////////////////////////////////////////////////////////////////////
|
||||
// ARGUMENTS
|
||||
@ -44,9 +43,8 @@ Task("InspectCode")
|
||||
.IsDependentOn("Compile")
|
||||
.Does(() => {
|
||||
var nVikaToolPath = GetFiles("./tools/NVika.MSBuild.*/tools/NVika.exe").First();
|
||||
var nugetToolPath = GetFiles("./tools/NuGet.CommandLine.*/tools/NuGet.exe").First();
|
||||
|
||||
StartProcess(nugetToolPath, $"restore {osuSolution}");
|
||||
DotNetCoreRestore(osuSolution.FullPath);
|
||||
|
||||
InspectCode(osuSolution, new InspectCodeSettings {
|
||||
CachesHome = "inspectcode",
|
||||
|
Loading…
Reference in New Issue
Block a user