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=CodeFileSanity"
|
||||||
#addin "nuget:?package=JetBrains.ReSharper.CommandLineTools"
|
#addin "nuget:?package=JetBrains.ReSharper.CommandLineTools"
|
||||||
#tool "nuget:?package=NVika.MSBuild"
|
#tool "nuget:?package=NVika.MSBuild"
|
||||||
#tool "nuget:?package=NuGet.CommandLine"
|
|
||||||
|
|
||||||
///////////////////////////////////////////////////////////////////////////////
|
///////////////////////////////////////////////////////////////////////////////
|
||||||
// ARGUMENTS
|
// ARGUMENTS
|
||||||
@ -44,9 +43,8 @@ Task("InspectCode")
|
|||||||
.IsDependentOn("Compile")
|
.IsDependentOn("Compile")
|
||||||
.Does(() => {
|
.Does(() => {
|
||||||
var nVikaToolPath = GetFiles("./tools/NVika.MSBuild.*/tools/NVika.exe").First();
|
var nVikaToolPath = GetFiles("./tools/NVika.MSBuild.*/tools/NVika.exe").First();
|
||||||
var nugetToolPath = GetFiles("./tools/NuGet.CommandLine.*/tools/NuGet.exe").First();
|
|
||||||
|
DotNetCoreRestore(osuSolution.FullPath);
|
||||||
StartProcess(nugetToolPath, $"restore {osuSolution}");
|
|
||||||
|
|
||||||
InspectCode(osuSolution, new InspectCodeSettings {
|
InspectCode(osuSolution, new InspectCodeSettings {
|
||||||
CachesHome = "inspectcode",
|
CachesHome = "inspectcode",
|
||||||
|
Loading…
Reference in New Issue
Block a user