Files
cuberite-2a/source/AllToLua.bat
T

26 lines
438 B
Batchfile
Raw Normal View History

:: 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:
2013-07-29 12:13:03 +01:00
"tolua++.exe" -L virtual_method_hooks.lua -o Bindings.cpp -H Bindings.h AllToLua.pkg
2013-07-29 12:13:03 +01:00
if %ALLTOLUA_WAIT%N == N pause