fetch Lua 5.1 from nuget.org

This commit is contained in:
Matthias Mailänder
2015-01-17 14:26:43 +01:00
parent 23380c6df6
commit 9cae84d29d
4 changed files with 20 additions and 3 deletions

1
.gitignore vendored
View File

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

View File

@@ -15,4 +15,12 @@ if [ ! -f windows/freetype6.dll ]; then
nuget install SharpFont -Version 2.5.0.1 nuget install SharpFont -Version 2.5.0.1
cp ./SharpFont.2.5.0.1/Content/freetype6.dll ./windows/ cp ./SharpFont.2.5.0.1/Content/freetype6.dll ./windows/
rm -rf SharpFont.2.5.0.1 rm -rf SharpFont.2.5.0.1
fi fi
if [ ! -f windows/lua51.dll ]; then
echo "Fetching Lua 5.1 from nuget"
nuget install lua51.redist -Version 5.1.5
cp ./lua51.redist.5.1.5/build/native/bin/Win32/v120/Release/lua5.1.dll ./windows/lua51.dll
rm -rf lua51.redist.5.1.5
fi

View File

@@ -69,5 +69,13 @@ if (!(Test-Path "Mono.Nat.dll"))
echo "Fetching Mono.Nat from NuGet." echo "Fetching Mono.Nat from NuGet."
./nuget.exe install Mono.Nat -Version 1.2.21 ./nuget.exe install Mono.Nat -Version 1.2.21
cp Mono.Nat.1.2.21.0/lib/net40/Mono.Nat.dll . cp Mono.Nat.1.2.21.0/lib/net40/Mono.Nat.dll .
rmdir Mono.Nat.1.2.21.0 -Recurse rmdir Mono.Nat.1.2.21.0 -Recurse
} }
if (!(Test-Path "windows/lua51.dll"))
{
echo "Fetching Lua 5.1 from NuGet."
./nuget.exe install lua51.redist -Version 5.1.5
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
}

Binary file not shown.