[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: Top-level source file name for a package: "?.lua", "?/?.lua", or "?/init.lua"?
- From: Ben <thebassplayer@...>
- Date: Sat, 5 Jan 2008 22:04:06 -0800
It would be nice if those conventions applied anywhere besides the '?'
directory. I tried doing it in one of my projects and learned that
the hard way. I have to use 'name/name.lua' or 'name.lua; name/*'
(and prefer the latter).
Given that, Lua's package system is nicely inuitive. I figured it out
without looking at the docs and by only a little trial and error. :)
Ben