summaryrefslogblamecommitdiffstats
path: root/source/AllToLua.bat
blob: 75a028228c7fe04d94abf48f7ef2fa59d3d412bb (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18

















                                                                                                                 

                                                                                    



 
                              

:: AllToLua.bat

:: This scripts updates the automatically-generates Lua bindings in Bindings.cpp / Bindings.h





:: If there was a Git conflict, resolve it by resetting to HEAD; we're regenerating the files from scratch anyway
git checkout -- Bindings.cpp
git checkout -- Bindings.h





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





if %ALLTOLUA_WAIT%N == N pause