Closed mpeterv closed 6 years ago
This is very optional but I think having a heap of rockspecks does make it a bit difficult to figure out what to update when there are changes in dependencies or source files. Always generating release rockspecs from scm rockspecs automatically also ensures there are no discrepancies between them. E.g. currently luafilesystem cvs-3
requires lua < 5.4
while the latest release (1.7.0-2
) doesn't.
There is no need to keep rockspecs for older versions - it's enough to ensure that
luarocks make
builds currently checked out version.luarocks new-version <rockspec> <version> --tag=<tag>
generates rockspecs for releases.Use
scm
instead ofdev
as LuaRocks 2 thinks thatdev
versions are less than normal versions like 1.6.3, making it tricky to use bleeding-edge version as a dependency with a constraint such asluafilesystem >= 1.6.3
.