summaryrefslogtreecommitdiffstats
path: root/src/Bindings/AllToLua.bat
blob: b2a1928806daf02b2a9ab37a3ea54203880e5c7f (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22

:: 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)





:: Regenerate the files:
"tolua++.exe" -L virtual_method_hooks.lua -o Bindings.cpp -H Bindings.h AllToLua.pkg




: Wait for keypress, if no param given:
if %ALLTOLUA_WAIT%N == N pause