2013-08-02 03:25:12 -04:00
|
|
|
|
|
|
|
:: 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
|
2013-08-13 17:02:22 -04:00
|
|
|
git checkout --ours Bindings.cpp
|
|
|
|
git add -u Bindings.cpp
|
|
|
|
git checkout --ours Bindings.h
|
|
|
|
git add -u Bindings.h
|
2013-08-02 03:25:12 -04:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
:: Regenerate the files:
|
2013-07-29 07:13:03 -04:00
|
|
|
"tolua++.exe" -L virtual_method_hooks.lua -o Bindings.cpp -H Bindings.h AllToLua.pkg
|
|
|
|
|
2013-08-02 03:25:12 -04:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2013-07-29 07:13:03 -04:00
|
|
|
if %ALLTOLUA_WAIT%N == N pause
|