Launcher for the LuaJIT backend.

Looks for main.lua. Launch it like this:

    luajit myapp/lib/luigi/launch.lua

If luigi isn't inside the project directory, pass
the path containing main.lua as the second argument.
The path must end with a directory separator.

    luajit /opt/luigi/launch.lua ./myapp/

If the app prefixes luigi modules with something
other then 'luigi', pass that prefix as the third
argument.

    luajit /opt/luigi/launch.lua ./myapp/ lib.luigi
This commit is contained in:
nobody
2016-02-10 15:55:36 -05:00
parent 1a75af526e
commit c9a5811adc
4 changed files with 60 additions and 4 deletions

View File

@@ -103,5 +103,5 @@ end)
-- show the main layout
layout:show()
-- only needed when using LuaJIT/SDL
Backend.run()
-- only needed when using LuaJIT/SDL and not using launch.lua
-- Backend.run()