From 1d0e1bdcb12e648ba2b0b6d54a8bdba4bcaad1d5 Mon Sep 17 00:00:00 2001 From: Tiger Wang Date: Sat, 25 Jan 2014 19:36:20 +0000 Subject: Improved AllToLua UI experience --- src/Bindings/AllToLua.bat | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) (limited to 'src/Bindings/AllToLua.bat') diff --git a/src/Bindings/AllToLua.bat b/src/Bindings/AllToLua.bat index b2a192880..f9bcbda45 100644 --- a/src/Bindings/AllToLua.bat +++ b/src/Bindings/AllToLua.bat @@ -4,18 +4,24 @@ :: When called without any parameters, it will pause for a keypress at the end :: Call with any parameter to disable the wait (for buildserver use) +@echo off + :: Regenerate the files: -"tolua++.exe" -L virtual_method_hooks.lua -o Bindings.cpp -H Bindings.h AllToLua.pkg +echo Regenerating LUA bindings... +"tolua++.exe" -L virtual_method_hooks.lua -o Bindings.cpp -H Bindings.h AllToLua.pkg >nul : Wait for keypress, if no param given: -if %ALLTOLUA_WAIT%N == N pause +echo Bindings were generated +echo. +echo Please depress the 'any' key to continue +if %ALLTOLUA_WAIT%N == N pause >nul -- cgit v1.2.3