aboutsummaryrefslogtreecommitdiff
path: root/src/bin
diff options
context:
space:
mode:
authorHisham Muhammad <hisham@gobolinux.org>2014-06-26 21:43:14 -0300
committerHisham Muhammad <hisham@gobolinux.org>2014-06-26 21:43:14 -0300
commitc318a9a6a55ad0c50dc9ec99dbf3aa750ad5021b (patch)
treeb11a596a8d17b5239e68aac02d42dcd059b64cbf /src/bin
parentee69f76118b6c834e2217a0d178e9dee263bfaf1 (diff)
downloadluarocks-c318a9a6a55ad0c50dc9ec99dbf3aa750ad5021b.tar.gz
luarocks-c318a9a6a55ad0c50dc9ec99dbf3aa750ad5021b.tar.bz2
luarocks-c318a9a6a55ad0c50dc9ec99dbf3aa750ad5021b.zip
HTTPS support for downloading and uploading rocks.
HTTPS is set as default for uploading. HTTP is still default for downloading to keep dependencies low and because the HTTPS code is new; might be changed in the future. See #273 and #240.
Diffstat (limited to 'src/bin')
-rwxr-xr-xsrc/bin/luarocks4
-rwxr-xr-xsrc/bin/luarocks-admin4
2 files changed, 8 insertions, 0 deletions
diff --git a/src/bin/luarocks b/src/bin/luarocks
index 3c9e1b74..9101e675 100755
--- a/src/bin/luarocks
+++ b/src/bin/luarocks
@@ -1,5 +1,9 @@
1#!/usr/bin/env lua 1#!/usr/bin/env lua
2 2
3-- this should be loaded first.
4local cfg = require("luarocks.cfg")
5cfg.init_package_paths()
6
3local loader = require("luarocks.loader") 7local loader = require("luarocks.loader")
4local command_line = require("luarocks.command_line") 8local command_line = require("luarocks.command_line")
5 9
diff --git a/src/bin/luarocks-admin b/src/bin/luarocks-admin
index e7f49c25..f49db920 100755
--- a/src/bin/luarocks-admin
+++ b/src/bin/luarocks-admin
@@ -1,5 +1,9 @@
1#!/usr/bin/env lua 1#!/usr/bin/env lua
2 2
3-- this should be loaded first.
4local cfg = require("luarocks.cfg")
5cfg.init_package_paths()
6
3local loader = require("luarocks.loader") 7local loader = require("luarocks.loader")
4local command_line = require("luarocks.command_line") 8local command_line = require("luarocks.command_line")
5 9