summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormadmaxoft@gmail.com <madmaxoft@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6>2012-06-07 22:30:29 +0200
committermadmaxoft@gmail.com <madmaxoft@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6>2012-06-07 22:30:29 +0200
commitf8167f3577e5ac81a3475bb3eeeba0d5c33996bd (patch)
treee84bfa53c8dbb5b2825e784911d9d66e57ac618a
parentBlockChecking split into a separate function (diff)
downloadcuberite-f8167f3577e5ac81a3475bb3eeeba0d5c33996bd.tar
cuberite-f8167f3577e5ac81a3475bb3eeeba0d5c33996bd.tar.gz
cuberite-f8167f3577e5ac81a3475bb3eeeba0d5c33996bd.tar.bz2
cuberite-f8167f3577e5ac81a3475bb3eeeba0d5c33996bd.tar.lz
cuberite-f8167f3577e5ac81a3475bb3eeeba0d5c33996bd.tar.xz
cuberite-f8167f3577e5ac81a3475bb3eeeba0d5c33996bd.tar.zst
cuberite-f8167f3577e5ac81a3475bb3eeeba0d5c33996bd.zip
-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