lua-users home
lua-l archive

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


>> - is there a way to create a rockspec for "the last version" (master HEAD)
> 
> You can do this with luarocks itself ("luarocks new_version") but I
> personally don't use that. I find it's just as easy to make the few changes
> required in the rockspec.

Not sure that's what you are asking but it is possible to make
rockspecs that pull from your SCM (they are called SCM rockspecs).
See [1] for example. You can specify a tag or a branch as well [2].

[1] https://github.com/catwell/haricot/blob/master/rockspec/haricot-scm-1.rockspec
[2] https://github.com/keplerproject/luarocks/wiki/Rockspec-format#build-rules

-- 
Pierre Chapuis