lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


On Wed, 26 Sep 2007 21:27:54 +1000 (EST), Duck <duck@roaming.ath.cx>
wrote:

>Assuming that you don't want to do what LHF suggested (i.e. to build a 
>large binary with all the code bundled inside it, which is a lot less 
>flexible), you could just redefine your package.path from, say:
>
>'/opt/me/?.lua;/opt/me/?/init.lua'
>
>(adjust to Windows flavour if desired) to:
>
>'/opt/me/?.lua;/opt/me/?.luac;/opt/me/?/init.lua;/opt/me/?/init.luac'
>
>When you're ready to make a release build, just compile all the .lua files 
>to .luac recursively in the /opt/me tree, and package only the .luac 
>versions into the release distro.
...

Thanks for your reply.

Yes, that's pretty much the plan that we have devised, although yours
is developed further than we had gotten so far.

Steve