aboutsummaryrefslogtreecommitdiff
path: root/docs/luarocks_make.md
diff options
context:
space:
mode:
Diffstat (limited to 'docs/luarocks_make.md')
-rw-r--r--docs/luarocks_make.md27
1 files changed, 27 insertions, 0 deletions
diff --git a/docs/luarocks_make.md b/docs/luarocks_make.md
new file mode 100644
index 00000000..88629334
--- /dev/null
+++ b/docs/luarocks_make.md
@@ -0,0 +1,27 @@
1# luarocks make
2
3Compile package in current directory using a rockspec.
4
5## Usage
6
7`luarocks make [--pack-binary-rock] [<rockspec>]`
8
9Builds sources in the current directory, but unlike [luarocks
10build](luarocks_build.md), it does not fetch sources, etc., assuming
11everything is available in the current directory. After the build is complete,
12it also installs the rock.
13
14If no argument is given, it looks for a rockspec in the current directory and
15in `./rockspec` and `./rockspecs` subdirectories. Of all the rockspecs the one
16with the highest version is used. If rockspecs for more than one rock are
17found, you must specify which one to use through the command-line.
18
19If `--pack-binary-rock` is passed, the rock is not installed; instead, a
20`.rock` file with the contents of compilation is produced in the current
21directory.
22
23## Example
24
25```
26luarocks make
27```