fetch SDL2-CS from GitHub

This commit is contained in:
Matthias Mailänder
2015-04-14 22:12:58 +02:00
parent 732001f3f3
commit adddf1245b
4 changed files with 13 additions and 0 deletions

View File

@@ -121,3 +121,10 @@ if (!(Test-Path "FuzzyLogicLibrary.dll"))
cp FuzzyLogicLibrary/bin/Release/FuzzyLogicLibrary.dll .
rmdir FuzzyLogicLibrary -Recurse
}
if (!(Test-Path "SDL2-CS.dll"))
{
echo "Fetching SDL2 C# from GitHub."
$target = Join-Path $pwd.ToString() "SDL2-CS.dll"
(New-Object System.Net.WebClient).DownloadFile("https://github.com/OpenRA/SDL2-CS/releases/download/20140407/SDL2-CS.dll", $target)
}