2013-08-02 03:25:12 -04:00
|
|
|
|
|
|
|
:: AllToLua.bat
|
|
|
|
:: This scripts updates the automatically-generates Lua bindings in Bindings.cpp / Bindings.h
|
2013-12-21 13:30:16 -05:00
|
|
|
:: When called without any parameters, it will pause for a keypress at the end
|
|
|
|
:: Call with any parameter to disable the wait (for buildserver use)
|
2013-08-02 03:25:12 -04:00
|
|
|
|
2014-01-25 14:36:20 -05:00
|
|
|
@echo off
|
|
|
|
|
2013-08-02 03:25:12 -04:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2013-12-21 13:30:16 -05:00
|
|
|
:: Regenerate the files:
|
2014-01-25 18:48:48 -05:00
|
|
|
echo Regenerating LUA bindings . . .
|
2015-05-12 03:20:54 -04:00
|
|
|
"tolua++.exe" -L BindingsProcessor.lua -o Bindings.cpp -H Bindings.h AllToLua.pkg
|
2013-08-02 03:25:12 -04:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2013-12-21 13:30:16 -05:00
|
|
|
: Wait for keypress, if no param given:
|
2014-01-25 14:36:20 -05:00
|
|
|
echo.
|
2014-01-25 18:48:48 -05:00
|
|
|
if %ALLTOLUA_WAIT%N == N pause
|
2013-08-02 03:25:12 -04:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|