fetch SDL2-CS from GitHub
This commit is contained in:
1
.gitignore
vendored
1
.gitignore
vendored
@@ -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
BIN
thirdparty/SDL2-CS.dll
vendored
Binary file not shown.
7
thirdparty/fetch-thirdparty-deps.ps1
vendored
7
thirdparty/fetch-thirdparty-deps.ps1
vendored
@@ -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)
|
||||
}
|
||||
|
||||
5
thirdparty/fetch-thirdparty-deps.sh
vendored
5
thirdparty/fetch-thirdparty-deps.sh
vendored
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user