diff options
-rw-r--r-- | Makefile.setup.inc | 2 | ||||
-rw-r--r-- | src/luarocks/fetch/git_https.lua | 7 |
2 files changed, 8 insertions, 1 deletions
diff --git a/Makefile.setup.inc b/Makefile.setup.inc index ef498e9b..0384a097 100644 --- a/Makefile.setup.inc +++ b/Makefile.setup.inc | |||
@@ -16,5 +16,5 @@ help.lua util.lua index.lua cache.lua refresh_cache.lua loader.lua \ | |||
16 | admin_remove.lua fetch/hg.lua fetch/git_file.lua new_version.lua lint.lua \ | 16 | admin_remove.lua fetch/hg.lua fetch/git_file.lua new_version.lua lint.lua \ |
17 | purge.lua path.lua path_cmd.lua write_rockspec.lua doc.lua upload.lua \ | 17 | purge.lua path.lua path_cmd.lua write_rockspec.lua doc.lua upload.lua \ |
18 | upload/api.lua upload/multipart.lua fetch/git_http.lua fetch/hg_http.lua \ | 18 | upload/api.lua upload/multipart.lua fetch/git_http.lua fetch/hg_http.lua \ |
19 | fetch/hg_https.lua fetch/hg_ssh.lua | 19 | fetch/hg_https.lua fetch/hg_ssh.lua fetch/git_https.lua |
20 | 20 | ||
diff --git a/src/luarocks/fetch/git_https.lua b/src/luarocks/fetch/git_https.lua new file mode 100644 index 00000000..67f8ad6c --- /dev/null +++ b/src/luarocks/fetch/git_https.lua | |||
@@ -0,0 +1,7 @@ | |||
1 | --- Fetch back-end for retrieving sources from Git repositories | ||
2 | -- that use https:// transport. For example, for fetching a repository | ||
3 | -- that requires the following command line: | ||
4 | -- `git clone https://example.com/foo.git` | ||
5 | -- you can use this in the rockspec: | ||
6 | -- source = { url = "git+https://example.com/foo.git" } | ||
7 | return require "luarocks.fetch.git_http" | ||