1
0
cuberite-2a/src/Bindings/AllToLua.bat

27 lines
504 B
Batchfile
Raw Normal View History

:: AllToLua.bat
:: This scripts updates the automatically-generates Lua bindings in Bindings.cpp / Bindings.h
:: 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)
2014-01-25 14:36:20 -05:00
@echo off
:: Regenerate the files:
echo Regenerating LUA bindings . . .
"tolua++.exe" -L BindingsProcessor.lua -o Bindings.cpp -H Bindings.h AllToLua.pkg
: Wait for keypress, if no param given:
2014-01-25 14:36:20 -05:00
echo.
if %ALLTOLUA_WAIT%N == N pause