lua-users home
lua-l archive

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

On Tue, Feb 14, 2012 at 8:28 AM, Matthew Wild <> wrote:
> Also sensible would be to make a rockspec for luarocks. Well worth the
> time (which, depending on the complexity of building the module, isn't
> usually very long).

I'd like to +1 this suggestion, because for most modules LR will build
them without needing a makefile, which is hard to get right in a
cross-platform way.  There's an elegant feature called 'per-platform
overrides' which allows a module to specify different dependencies and
source files depending on the platform.

You can test rockspecs locally as well; they are the equivalent of
makefiles so that 'luarocks make' in the directory will do what you

steve d.