summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Install/Zip2008_PDBs.list1
-rw-r--r--Nightbuild2008.cmd9
-rw-r--r--source/AllToLua.bat4
3 files changed, 12 insertions, 2 deletions
diff --git a/Install/Zip2008_PDBs.list b/Install/Zip2008_PDBs.list
index 38993a3b4..35ffc5919 100644
--- a/Install/Zip2008_PDBs.list
+++ b/Install/Zip2008_PDBs.list
@@ -4,4 +4,5 @@ VC2008\Release\Lua\*.pdb
VC2008\Release\ToLua\*.pdb
VC2008\Release\webserver\*.pdb
VC2008\Release\zlib*.pdb
+source\Bindings.*
diff --git a/Nightbuild2008.cmd b/Nightbuild2008.cmd
index a7a2cbc71..732092b81 100644
--- a/Nightbuild2008.cmd
+++ b/Nightbuild2008.cmd
@@ -55,6 +55,15 @@ if exist MCServer_Win_%WCREV%.7z (
+:: Update Bindings.cpp
+echo Updating Lua bindings
+set ALLTOLUA_WAIT=N
+cd source
+call AllToLua.bat
+cd ..
+
+
+
:: Compile using VC2008 Express. Do a full rebuild.
echo Setting up VS environment...
diff --git a/source/AllToLua.bat b/source/AllToLua.bat
index 24f56a0e5..584f57423 100644
--- a/source/AllToLua.bat
+++ b/source/AllToLua.bat
@@ -1,3 +1,3 @@
"tolua++.exe" -L virtual_method_hooks.lua -o Bindings.cpp -H Bindings.h AllToLua.pkg
-PAUSE
-echo "tolua++.exe" -o Bindings.cpp -H Bindings.h AllToLua.pkg \ No newline at end of file
+
+if %ALLTOLUA_WAIT%N == N pause