[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: Tuna now in module form
- From: steve donovan <steve.j.donovan@...>
- Date: Tue, 14 Feb 2012 09:31:12 +0200
On Tue, Feb 14, 2012 at 8:28 AM, Matthew Wild <email@example.com> 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