fetch Lua 5.1 from nuget.org
This commit is contained in:
1
.gitignore
vendored
1
.gitignore
vendored
@@ -39,6 +39,7 @@ thirdparty/nunit*
|
||||
thirdparty/windows/SDL2.dll
|
||||
thirdparty/Mono.Nat.dll
|
||||
thirdparty/nuget.exe
|
||||
thirdparty/windows/lua51.dll
|
||||
|
||||
# backup files by various editors
|
||||
*~
|
||||
|
||||
8
thirdparty/fetch-thirdparty-deps-windows.sh
vendored
8
thirdparty/fetch-thirdparty-deps-windows.sh
vendored
@@ -16,3 +16,11 @@ if [ ! -f windows/freetype6.dll ]; then
|
||||
cp ./SharpFont.2.5.0.1/Content/freetype6.dll ./windows/
|
||||
rm -rf SharpFont.2.5.0.1
|
||||
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
|
||||
|
||||
|
||||
10
thirdparty/fetch-thirdparty-deps.ps1
vendored
10
thirdparty/fetch-thirdparty-deps.ps1
vendored
@@ -69,5 +69,13 @@ if (!(Test-Path "Mono.Nat.dll"))
|
||||
echo "Fetching Mono.Nat from NuGet."
|
||||
./nuget.exe install Mono.Nat -Version 1.2.21
|
||||
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
|
||||
}
|
||||
BIN
thirdparty/windows/lua51.dll
vendored
BIN
thirdparty/windows/lua51.dll
vendored
Binary file not shown.
Reference in New Issue
Block a user