aboutsummaryrefslogtreecommitdiff
path: root/src/bin (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Remove program_name cmd.run_command argumentPaul Ouellette2019-08-012-2/+2
|
* Move remaining commands to argparsePaul Ouellette2019-08-012-2/+0
|
* Use argparse for command line argument parsingPaul Ouellette2019-07-292-2/+2
| | | | Supports main options and init and lint commands
* luarocks, luarocks-admin: load cfg first, for luarocks.loaderHisham Muhammad2018-07-102-0/+6
| | | | | Load luarocks.core.cfg first so that luarocks.loader knows it is running inside LuaRocks.
* cmd: dynamically load additional external commandsThijs Schreijer2018-07-042-5/+2
| | | | | | | Instead of a fixed list of commands, a dynamic list of modules residing within the `luarocks.cmd.external.<cmd_name>` in the Lua path will be dynamically added. This allows extending LuaRocks with additional commands. Same for `luarocks.admin.cmd.external.<cmd_name>`.
* cmd: new command-line initialization sequenceHisham Muhammad2018-07-012-9/+6
|
* cmd: rename luarocks.command_line to luarocks.cmdHisham Muhammad2018-07-012-4/+4
|
* init: begin implementing `luarocks init`Hisham Muhammad2018-05-311-0/+1
|
* test: initial implementation of `luarocks.test`Hisham Muhammad2018-05-071-0/+1
| | | | | | | | | | | Adds: * `luarocks test` command * `luarocks.test` module * TODO: support running test from `build` as well * `luarocks.test.busted` test backend * TODO: add test-only dependency on Busted * `luarocks.test.command` test backend
* Add `luarocks which` command. (#733)Hisham Muhammad2017-10-051-0/+1
|
* Revert commited `make build` changes in src/binPeter Melnichenko2017-09-302-4/+2
|
* Travis: speed up buildHisham Muhammad2017-09-292-2/+4
|
* Move admin commands to luarocks.admin.cmd.*; fix references to modules.Hisham2016-10-292-24/+24
|
* Oops, my dev environment leaked in a commit, sorry.Hisham2016-10-152-4/+2
|
* Tweak tests for luarocks-3 branch.Hisham2016-07-282-2/+4
|
* Core modules reorganization.Hisham2016-06-302-6/+6
| | | | | | | | | | | | | | | | | | | | | | | | Isolate all modules used by luarocks.loader in a luarocks.core.* namespace. Core modules can only require other core modules, and they only use require() at the top-level chunk. In other words, after luarocks.loader is setup, package.path can be altered at will and it should not affect the ability of luarocks.loader to run, and the luarocks.loader modules should not interfere with modules loaded later. This was motivated by @robooo's GSoC work on porting the LuaRocks test suite to Lua using Busted. Busted itself runs using luarocks.loader, and we need to ensure that the modules loaded by the tests do not conflict with the ones used by luarocks.loader. A circular dependency between luarocks.manif and luarocks.search was removed by creating a separate luarocks.manif.writer module. Also, luarocks-admin commands were moved to a luarocks.admin.* namespace.
* Add `luarocks config` command for querying LuaRocks settings.Hisham Muhammad2015-05-181-0/+1
|
* Fix --lib flag (and my last commit goof...)Hisham Muhammad2015-03-232-4/+2
|
* Fix tests: new flag parser detected invalid flags in the testsuite.Hisham Muhammad2015-03-232-2/+4
|
* Ensure luarocks.loader sees package paths.Hisham Muhammad2014-08-112-2/+0
| | | | This should fix a bug reported by @tomasguisasola on 2014-07-07.
* HTTPS support for downloading and uploading rocks.Hisham Muhammad2014-06-262-0/+8
| | | | | | | 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.
* Transition to MoonRocks. Add `luarocks upload` command for uploading into ↵Hisham Muhammad2014-05-261-0/+1
| | | | MoonRocks.
* Merge branch 'master' of https://github.com/keplerproject/luarocks into ↵mpeterv2014-03-211-1/+1
|\ | | | | | | | | | | | | | | | | | | | | | | | | lua52_compat Conflicts: src/bin/luarocks src/luarocks/fs/unix/tools.lua src/luarocks/path.lua Fixed: src/luarocks/path_cmd.lua: moved meta-data from path.lua Makefile: added path_cmd.lua to the list of installed files
| * Split luarocks.path the library and `luarocks path` the command.Hisham Muhammad2014-03-201-2/+1
| | | | | | | | As suggested in #232.
* | Split luarocks.path modulempeterv2014-03-201-1/+1
|/
* Add doc commandHisham Muhammad2014-01-101-0/+1
|
* Looks like I ran the test suite locally in the wrong branchHisham Muhammad2014-01-091-1/+0
|
* Add missing commit of luarocks-admin command changesHisham Muhammad2014-01-091-6/+5
|
* Performance improvementsHisham Muhammad2014-01-091-17/+19
|
* Merge changes proposed by @siffiejoe in #172.Hisham Muhammad2013-11-122-0/+2
| | | | (Sorry about the clumsiness of not doing a proper merge.)
* Added new command 'luarocks write_rockspec', which writes a template for a ↵Hisham Muhammad2013-10-111-0/+1
| | | | new rockspec.
* Improve "see help" messages and always use the name by which the luarocks ↵Hisham Muhammad2013-04-182-2/+0
| | | | program was launched.
* fix syntax error on new verbose optionFabio Mascarenhas2013-04-121-139/+0
|
* 5.2 compatibility for the launcher wrapper.Thijs Schreijer2013-04-121-3/+2
|
* fixed wrapper code to include the global 'arg' table, including compiled ↵Thijs Schreijer2013-04-101-1/+23
| | | | object file
* Add 'purge' command. Closes #25.Hisham Muhammad2012-09-241-0/+1
|
* Add 'lint' command, to check for rockspec validity.Hisham Muhammad2012-09-181-0/+1
|
* Add "new_version", a new feature.Hisham Muhammad2012-05-201-0/+1
|
* Enable luarocks-admin removeHisham Muhammad2010-09-231-0/+1
|
* Add the 'show' command by Steve Donovan, plus some changes.Hisham Muhammad2010-09-031-0/+1
| | | | | | | | Added an error check and some layout improvements, to make it look a bit like index.html from the repository. The only 'major' change was to present the repository path instead of the rock directory. I thought it would be confusing to present that path there since it's not where the modules are.
* add 'path' command to the command-line interfaceHisham Muhammad2010-08-301-0/+1
|
* mingw32 build targetFabio Mascarenhas2010-01-211-0/+118
|
* cleanup hash-banghisham2009-10-111-1/+1
| | | | git-svn-id: http://luarocks.org/svn/luarocks/trunk@88 9ca3f7c1-7366-0410-b1a3-b5c78f85698c
* Fix help.hisham2009-10-111-0/+1
| | | | git-svn-id: http://luarocks.org/svn/luarocks/trunk@79 9ca3f7c1-7366-0410-b1a3-b5c78f85698c
* generalize 'get_rockspec' into 'download', which is able to download ↵hisham2009-07-301-1/+1
| | | | | | .src.rocks, rocks and rockspecs git-svn-id: http://luarocks.org/svn/luarocks/trunk@43 9ca3f7c1-7366-0410-b1a3-b5c78f85698c
* add get_rockspec commandhisham2009-07-161-0/+1
| | | | git-svn-id: http://luarocks.org/svn/luarocks/trunk@41 9ca3f7c1-7366-0410-b1a3-b5c78f85698c
* added preliminary support for 'luarocks-admin add'hisham2009-06-181-0/+1
| | | | git-svn-id: http://luarocks.org/svn/luarocks/trunk@28 9ca3f7c1-7366-0410-b1a3-b5c78f85698c
* LuaRocks can now use itself to load its own dependencies!hisham2009-04-231-1/+1
| | | | git-svn-id: http://luarocks.org/svn/luarocks/trunk@13 9ca3f7c1-7366-0410-b1a3-b5c78f85698c
* Import latest revision from CVS at luaforge.nethisham2009-04-012-0/+33
git-svn-id: http://luarocks.org/svn/luarocks/trunk@1 9ca3f7c1-7366-0410-b1a3-b5c78f85698c