1
0
mirror of https://github.com/ppy/osu.git synced 2024-12-14 06:52:55 +08:00

Remove the usage of windows nuget restore and replace it with dotnet restore

This commit is contained in:
miterosan 2018-08-09 20:45:34 +02:00
parent 1a03ef13f4
commit 2763f0be6b

View File

@ -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",