.mgit bundle & Main Module with a path
./mgit bundle -a "..." -m "... main.lua" -M main -o myapp.exe
./mgit bundle -a "..." -m "... ./mycode/main.lua" -M main -o myapp.exe
Seems the loader can't handle paths etc. correctly or assume paths or whatever. Haven't tracked it down. It falls back to LuaJIT command line without any error message. Will take a look to:
- Handle paths
- Print a error message, what's missing, not found etc.
Bundle doesn't handle paths. As the manual says "it assumes luapower's toolchain and directory layout".
Which doesn't imply that this is necessary for own created stuff. Maybe better to make it totally clear and explicit:
""Bundle assumes luapower's toolchain and directory layout. You have to place your own code in the luapower directory."
You have to place your own code in the luapower directory