aboutsummaryrefslogtreecommitdiff
path: root/docs/luarocks_build.md
diff options
context:
space:
mode:
authorHisham Muhammad <hisham@gobolinux.org>2025-01-05 21:40:39 -0300
committerHisham Muhammad <hisham@gobolinux.org>2025-02-21 11:22:43 -0300
commit7e86fa86b4d08fd6118d6eab46d92b29ffea791e (patch)
tree10fdd12beed4b0eca408533ad11d1f52d7d62e10 /docs/luarocks_build.md
parent1ada2ea4bbd94ac0c58e3e2cc918194140090a75 (diff)
downloadluarocks-7e86fa86b4d08fd6118d6eab46d92b29ffea791e.tar.gz
luarocks-7e86fa86b4d08fd6118d6eab46d92b29ffea791e.tar.bz2
luarocks-7e86fa86b4d08fd6118d6eab46d92b29ffea791e.zip
docs: import Wiki docs into the main repo
Diffstat (limited to 'docs/luarocks_build.md')
-rw-r--r--docs/luarocks_build.md22
1 files changed, 22 insertions, 0 deletions
diff --git a/docs/luarocks_build.md b/docs/luarocks_build.md
new file mode 100644
index 00000000..75b7898d
--- /dev/null
+++ b/docs/luarocks_build.md
@@ -0,0 +1,22 @@
1# luarocks build
2
3Build/compile and install a rock.
4
5## Usage
6
7`luarocks build [--pack-binary-rock] {<rockspec> | <rock> | <name> [<version>]}`
8
9Builds and installs a rock, compiling its C parts if any. Argument may be a
10rockspec file, a source rock file or the name of a rock to be fetched from a
11repository, in which case a version may be passed as well. In case of more
12than one rock matching the request, the `build` command favors source rocks.
13
14If `--pack-binary-rock` is passed, the rock is not installed; instead, a
15`.rock` file with the contents of compilation is produced in the current
16directory.
17
18## Example
19
20```
21luarocks build luasocket
22```