From f8167f3577e5ac81a3475bb3eeeba0d5c33996bd Mon Sep 17 00:00:00 2001 From: "madmaxoft@gmail.com" Date: Thu, 7 Jun 2012 20:30:29 +0000 Subject: Nightbuild: bindings are automatically update before the build git-svn-id: http://mc-server.googlecode.com/svn/trunk@572 0a769ca7-a7f5-676a-18bf-c427514a06d6 --- Install/Zip2008_PDBs.list | 1 + Nightbuild2008.cmd | 9 +++++++++ source/AllToLua.bat | 4 ++-- 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 -- cgit v1.2.3