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:
parent
73a30d302b
commit
f8167f3577
@ -4,4 +4,5 @@ VC2008\Release\Lua\*.pdb
|
||||
VC2008\Release\ToLua\*.pdb
|
||||
VC2008\Release\webserver\*.pdb
|
||||
VC2008\Release\zlib*.pdb
|
||||
source\Bindings.*
|
||||
|
||||
|
@ -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...
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user