Introduction
LuaRocks, a package manager for Lua, uses two
kinds of file: a .rockspec, which describes a package and how to build it,
and a .rock, the packed form of a package.
Structure
A .rock is a ZIP archive with the rockspec and a
rock_manifest at its root and directories such as lua/,
lib/ and bin/. A rockspec is a text file of fields such as
rockspec_format, description and build.
Not described
Known, not yet covered
- Reference: this page is a summary; the rockspec fields and rock variants are not yet described on this site.
- Viewer: the site has no viewer made for rocks.
Links
Software
- LuaRocks – package manager for Lua modules
Reference
- Rockspec format – the LuaRocks wiki
- LuaRocks workshop slides – the layout of a rock