fetch Zlib from nuget

This commit is contained in:
Matthias Mailänder
2015-01-17 14:32:40 +01:00
parent 9cae84d29d
commit b25184adca
4 changed files with 16 additions and 0 deletions

1
.gitignore vendored
View File

@@ -40,6 +40,7 @@ thirdparty/windows/SDL2.dll
thirdparty/Mono.Nat.dll
thirdparty/nuget.exe
thirdparty/windows/lua51.dll
thirdparty/windows/zlib1.dll
# backup files by various editors
*~

View File

@@ -24,3 +24,10 @@ if [ ! -f windows/lua51.dll ]; then
rm -rf lua51.redist.5.1.5
fi
if [ ! -f windows/zlib1.dll ]; then
echo "Fetching ZLib from nuget"
nuget install zlib.redist -Version 1.2.8.7
cp ./zlib.redist.1.2.8.7/build/native/bin/v120/Win32/Release/dynamic/stdcall/zlib.dll windows/zlib1.dll
rm -rf zlib.redist.1.2.8.7
fi

View File

@@ -79,3 +79,11 @@ if (!(Test-Path "windows/lua51.dll"))
cp lua51.redist.5.1.5/build/native/bin/Win32/v120/Release/lua5.1.dll ./windows/lua51.dll
rmdir lua51.redist.5.1.5 -Recurse
}
if (!(Test-Path "windows/zlib1.dll"))
{
echo "Fetching ZLib from NuGet."
./nuget.exe install zlib.redist -Version 1.2.8.7
cp zlib.redist.1.2.8.7/build/native/bin/v120/Win32/Release/dynamic/stdcall/zlib.dll windows/zlib1.dll
rmdir zlib.redist.1.2.8.7 -Recurse
}

Binary file not shown.