On Sun, Apr 8, 2012 at 12:45 PM, Enrique Garcia Cota <[email protected]> wrote:
> Hi there,
>
> This is my first rockspec.
>
> It implements semantic versioning (http://semver.org) in full extent.
>
> It's a pure-lua rock. I've done my best to generate the file accordingly,
> but the luarocks documentation seems to not cover the syntax for this case.
> I used the telescope rockspec as a template for mine.

Thank you! The rockspec looks fine. For this case, you could have also used

build = { type = "module", modules = { semver = "semver.lua" } }

but the end result is the same.

> I've noticed that the "luarocks pack" command includes a lot of stuff that
> isn't needed for the rock - namely, the whole .git subfolder. I could not
> find a way to "ignore" that folder on the rockspec.

The latest versions of LuaRocks don't pack the .git subdirectory in
the rock file anymore.

Thanks for contributing and sorry about the delay,

-- Hisham
http://hisham.hm/

------------------------------------------------------------------------------
For Developers, A Lot Can Happen In A Second.
Boundary is the first to Know...and Tell You.
Monitor Your Applications in Ultra-Fine Resolution. Try it FREE!
http://p.sf.net/sfu/Boundary-d2dvs2
_______________________________________________
Luarocks-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/luarocks-developers

Reply via email to