diff options
Diffstat (limited to 'docs')
-rw-r--r-- | docs/luarocks_upload.md | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/docs/luarocks_upload.md b/docs/luarocks_upload.md index 167ec803..c80a5104 100644 --- a/docs/luarocks_upload.md +++ b/docs/luarocks_upload.md | |||
@@ -4,10 +4,13 @@ Upload a rockspec to the public rocks repository. | |||
4 | 4 | ||
5 | ## Usage | 5 | ## Usage |
6 | 6 | ||
7 | `luarocks upload [--skip-pack] [--api-key=<key>] [--force] <rockspec>` | 7 | `luarocks upload [--skip-pack] [--api-key=<key>] [--force] <rockspec> [<src.rock>]` |
8 | 8 | ||
9 | Packs a source rock file (`.src.rock`) using a rockspec and uploads it | 9 | Packs a source rock file (`.src.rock`) using a rockspec and |
10 | and the rockspec to the public rocks repository. | 10 | |
11 | Uploads a rockspec and a source rock file (`.src.rock`) to the public rocks | ||
12 | repository. If the `.src.rock` file is not given, the command generates the | ||
13 | `.src.rock` file from the rockspec by itself. | ||
11 | 14 | ||
12 | To access the server, an API key is required. It is passed using `--api-key` | 15 | To access the server, an API key is required. It is passed using `--api-key` |
13 | option and can be issued at the [LuaRocks site](https://luarocks.org/) on | 16 | option and can be issued at the [LuaRocks site](https://luarocks.org/) on |