diff --git a/LuaGenerator/GenerateLua.bat b/LuaGenerator/GenerateLua.bat index 4a628db..6ee38e3 100755 --- a/LuaGenerator/GenerateLua.bat +++ b/LuaGenerator/GenerateLua.bat @@ -19,9 +19,9 @@ @rem Generates interface data in lua @rem @rem Typical usage: -@rem GenerateLua.bat [ ] +@rem GenerateLua.bat [ ] @rem GenerateLua.bat -@rem GenerateLua.bat ..\..\Thunder ..\..\ThunderInterfaces ..\..\ThunderClientLibraries +@rem GenerateLua.bat ..\..\Thunder ..\..\ThunderInterfaces @rem @echo off @@ -33,12 +33,10 @@ if not exist ..\ProxyStubGenerator\StubGenerator.py ( set THUNDER_DIR=..\..\Thunder set INTERFACES_DIR=..\..\ThunderInterfaces -set CLIENTLIBRARIES_DIR=..\..\ThunderClientLibraries set files=%THUNDER_DIR%\Source\com\ICOM.h -set files=%files% %THUNDER_DIR%\Source\plugins\IController.h %THUNDER_DIR%\Source\plugins\IPlugin.h %THUNDER_DIR%\Source\plugins\IShell.h %THUNDER_DIR%\Source\plugins\IStateControl.h %THUNDER_DIR%\Source\plugins\ISubSystem.h +set files=%files% %THUNDER_DIR%\Source\plugins\IController.h %THUNDER_DIR%\Source\plugins\IPlugin.h %THUNDER_DIR%\Source\plugins\IShell.h %THUNDER_DIR%\Source\plugins\IStateControl.h %THUNDER_DIR%\Source\plugins\ISubSystem.h %THUNDER_DIR%\Source\plugins\IDispatcher.h set files=%files% %INTERFACES_DIR%\interfaces\I*.h -set files=%files% %CLIENTLIBRARIES_DIR%\Source\cryptography\I*.h rem add more interface files if needed.. echo Generating lua data file... diff --git a/LuaGenerator/GenerateLua.sh b/LuaGenerator/GenerateLua.sh index 0ec207c..08661e5 100755 --- a/LuaGenerator/GenerateLua.sh +++ b/LuaGenerator/GenerateLua.sh @@ -21,22 +21,20 @@ # Generates interface data in lua # # Typical usage: -# ./GenerateLua.sh [ ] +# ./GenerateLua.sh [ ] # ./GenerateLua.sh -# ./GenerateLua.sh ../../Thunder ../../ThunderInterfaces ../../ThunderClientLibraries -# ./GenerateLua.sh ~/work/Thunder ~/work/ThunderInterfaces ~/work/ThunderClientLibraries +# ./GenerateLua.sh ../../Thunder ../../ThunderInterfaces +# ./GenerateLua.sh ~/work/Thunder ~/work/ThunderInterfaces # command -v ../ProxyStubGenerator/StubGenerator.py >/dev/null 2>&1 || { echo >&2 "StubGenerator.py is not available. Aborting."; exit 1; } THUNDER_DIR="${1:-../../Thunder}" INTERFACES_DIR="${2:-../../ThunderInterfaces}" -CLIENTLIBRARIES_DIR="${3:-../../ThunderClientLibraries}" files="$THUNDER_DIR/Source/com/ICOM.h" -files="$files $THUNDER_DIR/Source/plugins/IController.h $THUNDER_DIR/Source/plugins/IPlugin.h $THUNDER_DIR/Source/plugins/IShell.h $THUNDER_DIR/Source/plugins/IStateControl.h $THUNDER_DIR/Source/plugins/ISubSystem.h" +files="$files $THUNDER_DIR/Source/plugins/IController.h $THUNDER_DIR/Source/plugins/IPlugin.h $THUNDER_DIR/Source/plugins/IShell.h $THUNDER_DIR/Source/plugins/IStateControl.h $THUNDER_DIR/Source/plugins/ISubSystem.h $THUNDER_DIR/Source/plugins/IDispatcher.h" files="$files $INTERFACES_DIR/interfaces/I*.h" -files="$files $CLIENTLIBRARIES_DIR/Source/cryptography/I*.h" # add more interface files if needed.. echo "Generating lua data file..."