aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn Szakmeister <john@szakmeister.net>2015-04-14 05:49:29 -0400
committerJohn Szakmeister <john@szakmeister.net>2015-04-14 05:49:29 -0400
commit989347e0a86be548ddcba8652e328db9a6a88b04 (patch)
tree6df776e902d9c9c80fa0c44c73d8748cd557a400
parent0fe8556ced63d714e0cd371a8511c8dadce7874e (diff)
downloadluarocks-989347e0a86be548ddcba8652e328db9a6a88b04.tar.gz
luarocks-989347e0a86be548ddcba8652e328db9a6a88b04.tar.bz2
luarocks-989347e0a86be548ddcba8652e328db9a6a88b04.zip
Add git+https support.
-rw-r--r--src/luarocks/fetch/git_https.lua7
1 files changed, 7 insertions, 0 deletions
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" }
7return require "luarocks.fetch.git_http"