Documentation
Hisham Muhammad edited this page Feb 24, 2015
·
13 revisions
If you're just getting started with LuaRocks, these are things you probably want to read first:
- Download
- To install, choose the one appropriate for your platform:
- Using LuaRocks
- Creating a rock - for Lua developers who want to make their code available through LuaRocks.
- Recommended practices for Makefiles - things Lua module authors can do to their Makefiles to improve portability and ease of packaging.
- Creating a Makefile that plays nice with LuaRocks - like the above, but in tutorial form.
- Creating LuaRocks with GNU autotools - some pointers to automating the creation of LuaRocks for your GNU autotools-based projects
These pages explain some concepts about LuaRocks:
- Types of rocks - What are rocks: source rocks, binary rocks...
- Rocks repositories - rocks servers and rocks trees are rocks repositories.
-
Dependencies - How LuaRocks understands dependencies.
- Platform-agnostic external dependencies - How to specify dependencies on non-Lua libraries in a portable manner.
- Paths and external dependencies - Configuring path for Lua and other C modules needed by rocks.
- Using LuaRocks - How to use LuaRocks once it is installed and configured.
- luarocks - The LuaRocks command-line interface.
- luarocks-admin - The repository management tool.
- File formats - Reference on the various files used by LuaRocks.
-
File locations - The various locations of files installed and used by LuaRocks.
-
Rockspec format - Rockspecs are the files which contain rules explaining how rocks are built and installed as well as their dependencies and other metadata.
- Platform overrides - How to add platform-specific parts in rockspecs.
- Config file format - The specification of the LuaRocks configuration file format, as it takes shape.
- Manifest file format - The index file that describes a LuaRocks servers and trees.
-
Rockspec format - Rockspecs are the files which contain rules explaining how rocks are built and installed as well as their dependencies and other metadata.
- LuaRocks through a proxy - Configuring HTTP/FTP proxies for use with LuaRocks.
- Development - Documentation related to the development of LuaRocks itself.
- LuaRocks: o sistema de pacotes de extensão para a linguagem Lua, presented by Hisham Muhammad at FISL 9.0 - IX International Forum on Free Software, Porto Alegre, Brazil (ODP, in Portuguese)