summaryrefslogtreecommitdiffstats
path: root/source/AllToLua.bat
diff options
context:
space:
mode:
authormadmaxoft <github@xoft.cz>2013-08-02 09:25:12 +0200
committermadmaxoft <github@xoft.cz>2013-08-02 09:25:12 +0200
commit13c5a7864eca5fa47e7608fc4e44558c8bf9e7f8 (patch)
tree5b102d24f079b3ed9c74200e55cf9a1f889aaa4a /source/AllToLua.bat
parentShift+clicking won't combine different item metas. (diff)
downloadcuberite-13c5a7864eca5fa47e7608fc4e44558c8bf9e7f8.tar
cuberite-13c5a7864eca5fa47e7608fc4e44558c8bf9e7f8.tar.gz
cuberite-13c5a7864eca5fa47e7608fc4e44558c8bf9e7f8.tar.bz2
cuberite-13c5a7864eca5fa47e7608fc4e44558c8bf9e7f8.tar.lz
cuberite-13c5a7864eca5fa47e7608fc4e44558c8bf9e7f8.tar.xz
cuberite-13c5a7864eca5fa47e7608fc4e44558c8bf9e7f8.tar.zst
cuberite-13c5a7864eca5fa47e7608fc4e44558c8bf9e7f8.zip
Diffstat (limited to 'source/AllToLua.bat')
-rw-r--r--source/AllToLua.bat22
1 files changed, 22 insertions, 0 deletions
diff --git a/source/AllToLua.bat b/source/AllToLua.bat
index 60520e6f3..75a028228 100644
--- a/source/AllToLua.bat
+++ b/source/AllToLua.bat
@@ -1,3 +1,25 @@
+
+:: 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