1
0

Nightbuild: bindings are automatically update before the build

git-svn-id: http://mc-server.googlecode.com/svn/trunk@572 0a769ca7-a7f5-676a-18bf-c427514a06d6
This commit is contained in:
madmaxoft@gmail.com 2012-06-07 20:30:29 +00:00
parent 73a30d302b
commit f8167f3577
3 changed files with 12 additions and 2 deletions

View File

@ -4,4 +4,5 @@ VC2008\Release\Lua\*.pdb
VC2008\Release\ToLua\*.pdb
VC2008\Release\webserver\*.pdb
VC2008\Release\zlib*.pdb
source\Bindings.*

View File

@ -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...

View File

@ -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
if %ALLTOLUA_WAIT%N == N pause