diff options
| author | John Szakmeister <john@szakmeister.net> | 2015-04-14 05:49:29 -0400 |
|---|---|---|
| committer | John Szakmeister <john@szakmeister.net> | 2015-04-14 05:49:29 -0400 |
| commit | 989347e0a86be548ddcba8652e328db9a6a88b04 (patch) | |
| tree | 6df776e902d9c9c80fa0c44c73d8748cd557a400 /src | |
| parent | 0fe8556ced63d714e0cd371a8511c8dadce7874e (diff) | |
| download | luarocks-989347e0a86be548ddcba8652e328db9a6a88b04.tar.gz luarocks-989347e0a86be548ddcba8652e328db9a6a88b04.tar.bz2 luarocks-989347e0a86be548ddcba8652e328db9a6a88b04.zip | |
Add git+https support.
Diffstat (limited to 'src')
| -rw-r--r-- | src/luarocks/fetch/git_https.lua | 7 |
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" } | ||
| 7 | return require "luarocks.fetch.git_http" | ||
