lua-users home
lua-l archive

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


Hi all,

Thanks for this! Exactly what I was looking for.

Just one more question, what about C files and system libraries (.so and .dll)? Would you place them inside "module"? This is for Lua 5.1, so I assume there're no separate CDIR/LDIR things, right?

Thanks again,
Antonio

On 14/06/10 21:41, Linus Sjögren 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.