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

1
.gitignore vendored
View File

@@ -44,6 +44,7 @@ thirdparty/windows/lua51.dll
thirdparty/windows/zlib1.dll
thirdparty/windows/soft_oal.dll
thirdparty/FuzzyLogicLibrary.dll
thirdparty/SDL2-CS.dll
# backup files by various editors
*~

BIN
thirdparty/SDL2-CS.dll vendored

Binary file not shown.

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)
}

View File

@@ -72,3 +72,8 @@ if [ ! -f FuzzyLogicLibrary.dll ]; then
cp ./FuzzyLogicLibrary/bin/Release/FuzzyLogicLibrary.dll .
rm -rf FuzzyLogicLibrary
fi
if [ ! -f SDL2-CS.dll ]; then
echo "Fetching SDL2-CS from GitHub."
wget https://github.com/OpenRA/SDL2-CS/releases/download/20140407/SDL2-CS.dll
fi