Re: Best practices in Lua project structure
[
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: 2010年6月14日 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.