What is the proper Rockspec file name for the new luarock?

According to this page: http://luarocks.org/en/Creating_a_rock

This should be saved in the luafruits-1.0-1.rockspec file. the name must contain lowercase versions of the "package" and "version" fields, otherwise LuaRocks will complain.

However, other luarocks use rockspec as the file name. Where can I get more information about rockspec vs name-VER-REV.rockspec ? Luarx himself uses the name rockspec : https://github.com/keplerproject/luarocks/blob/master/rockspec

+2
source share
1 answer

A rockspec filename is an agnostic version, but can only be used with the luarocks make (therefore, it is useful for development / boot). To redistribute the scalpel (for example, to include it at http://luarocks.org ) use the version name. Some developers also keep the rockspecs/ directory in their repo, which contains hints for their releases: users can then use these files directly if they wish, using commands like luarocks install https://raw.github.com/lua4web/refser/v0.2/rockspecs/refser-0.2-1.rockspec (using the raw.github.com path).

+3
source

Source: https://habr.com/ru/post/1260621/


All Articles