diff options
author | madmaxoft <github@xoft.cz> | 2013-12-08 12:17:54 +0100 |
---|---|---|
committer | madmaxoft <github@xoft.cz> | 2013-12-08 12:17:54 +0100 |
commit | 044fd237b60b30f2a422b9efd04d20badf61da79 (patch) | |
tree | edbbb450e57100e7b23b91f4a12a10802d20e6d0 /src/Bindings/AllToLua.bat | |
parent | Ignoring Gallery plugin settings. (diff) | |
download | cuberite-044fd237b60b30f2a422b9efd04d20badf61da79.tar cuberite-044fd237b60b30f2a422b9efd04d20badf61da79.tar.gz cuberite-044fd237b60b30f2a422b9efd04d20badf61da79.tar.bz2 cuberite-044fd237b60b30f2a422b9efd04d20badf61da79.tar.lz cuberite-044fd237b60b30f2a422b9efd04d20badf61da79.tar.xz cuberite-044fd237b60b30f2a422b9efd04d20badf61da79.tar.zst cuberite-044fd237b60b30f2a422b9efd04d20badf61da79.zip |
Diffstat (limited to 'src/Bindings/AllToLua.bat')
-rw-r--r-- | src/Bindings/AllToLua.bat | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/src/Bindings/AllToLua.bat b/src/Bindings/AllToLua.bat new file mode 100644 index 000000000..f7867fadb --- /dev/null +++ b/src/Bindings/AllToLua.bat @@ -0,0 +1,27 @@ + +:: 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 --ours Bindings.cpp +git add -u Bindings.cpp +git checkout --ours Bindings.h +git add -u 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 |