lua-users home
lua-l archive

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


Hello,

what is the init.lua for?

On Mon, Jun 14, 2010 at 9:41 PM, Linus Sjögren <thelinx@unreliablepollution.net> wrote:
I use this directory layout:

/
README
CHANGELOG
 examples/
  (example files goes here)
 <module>/
  init.lua

It allows for easy installation of the module, just move the <module> folder to your /usr/local/share/lua/5.1/ folder and it's installed.

It also plays nice with LuaRocks, which is a plus.