[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: Best practices in Lua project structure
- From: Linus Sjögren <thelinx@...>
- Date: Mon, 14 Jun 2010 21:41:20 +0200
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.