aboutsummaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
Diffstat (limited to 'docs')
-rw-r--r--docs/luarocks_upload.md9
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
9Packs a source rock file (`.src.rock`) using a rockspec and uploads it 9Packs a source rock file (`.src.rock`) using a rockspec and
10and the rockspec to the public rocks repository. 10
11Uploads a rockspec and a source rock file (`.src.rock`) to the public rocks
12repository. If the `.src.rock` file is not given, the command generates the
13`.src.rock` file from the rockspec by itself.
11 14
12To access the server, an API key is required. It is passed using `--api-key` 15To access the server, an API key is required. It is passed using `--api-key`
13option and can be issued at the [LuaRocks site](https://luarocks.org/) on 16option and can be issued at the [LuaRocks site](https://luarocks.org/) on