Files
OpenRA/thirdparty/fetch-thirdparty-deps.ps1
2014-12-25 10:18:20 +01:00

13 lines
358 B
PowerShell

if (!(Test-Path "nuget.exe"))
{
echo "Fetching NuGet."
Invoke-WebRequest "http://nuget.org/nuget.exe" -OutFile "nuget.exe"
}
if (!(Test-Path "StyleCop.dll"))
{
echo "Fetching StyleCop files from NuGet."
./nuget.exe install StyleCop.MSBuild -Version 4.7.49.0
cp StyleCop.MSBuild.4.7.49.0/tools/StyleCop*.dll .
rmdir StyleCop.MSBuild.4.7.49.0 -Recurse
}