aboutsummaryrefslogtreecommitdiff
path: root/Makefile.setup.inc (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Unix: new build systemHisham Muhammad2018-07-011-27/+0
| | | | | | | | | | * Reworked configure script * Now passes shellcheck * New Makefile for Unix * Simplified `make` and `make install` targets * Simplified `make bootstrap` target * New targets `make binary` and `make install-binary` build and install an all-in-one binary of LuaRocks
* cmd: rename luarocks.command_line to luarocks.cmdHisham Muhammad2018-07-011-1/+1
|
* Move win32.pe-parser to luarocks.fs.win32.pe-parserHisham Muhammad2018-06-281-1/+1
|
* General refactor introducing Rockspec and Build.Opts objectsHisham Muhammad2018-06-061-1/+1
| | | | | | | | | | Adds a Rockspec object responsible for constructing all Rockspec tables in the manner of the Queries and Results objects, and a type-checked Build.Opts tables for build options, since the number of attributes passed around was getting out of hand. This allowed a major cleanup in the luarocks.build, luarocks.fetch and luarocks.cmd.write_rockspec modules.
* Makefile.setup.inc: add cmd/init.luaHisham Muhammad2018-05-311-1/+1
|
* Makefile.setup.inc: add references to new modulesHisham Muhammad2018-05-071-2/+4
|
* Add support for namespaces.Hisham Muhammad2018-04-111-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | For details of the new feature, see https://github.com/luarocks/luarocks/wiki/Namespaces This ended up being a huge commit because of some major refactoring motivated by the new feature: * new modules for some object types: * `luarocks.queries` - all functions that look for rocks in local or remote repositories now use objects constructed by this module: query objects contain the name, namespace and query constraints. Dependencies in a rockspec are also stored as query objects. * `luarocks.results` - all individual results produces from queries are returned in this format: result objects contain the name, namespace, version, arch and repo. * the `results` object was renamed to `result_tree`, to better reflect that it is not an array of `result` objects. * `luarocks.vers` was removed, its functionality was moved to better locations. Specifically on namespaces: * Commands that take a rock `name` can now take `namespace/name` (and alternately `--flags=namespace` so that URLs can be also installed with a nominal namespace). * Rocks installed from a namespace now create a `rock_namespace` file alongside `rock_manifest`, which is used when matching namespaced dependencies against locally-installed rocks. * Using namespaced dependencies in a rockspec, requires `rockspec_format = "3.0"`. * Tests under the `#namespaces` hashtag, all using a local repository.
* Makefile: remove entry that is still in branch only.Hisham Muhammad2017-10-081-1/+1
|
* Makefile: Update list of deployed filesHisham Muhammad2017-10-081-3/+4
| | | | Fixes #738.
* Makefile.setup.inc: do not include trailing slash in LUADIRDaniel Hahler2017-10-041-1/+1
| | | | | LUADIR is used with a following slash everywhere, and it looks confusing when seeing "//" during the build.
* Remove outdated file from list, and automate check for the futureHisham2016-11-141-1/+1
|
* Split pure version/deps operations into luarocks.vers modulePeter Melnichenko2016-11-131-1/+1
| | | | | | | luarocks.deps module used to contain version and dependency parsing functions as well as some high-level dependency handling: matching and resolving them. A lot of modules only need the parsing half. Split it into its own module, luarocks.vers.
* Deploy new filesHisham2016-10-311-13/+17
|
* Core modules reorganization.Hisham2016-06-301-13/+13
| | | | | | | | | | | | | | | | | | | | | | | | 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.
* Move common implementation of fs.use_downloader into fs.tools modulePeter Melnichenko2016-05-221-1/+1
|
* Add git+ssh support to fetchers, including both kinds of git ssh urlGeoff Leyland2015-12-231-1/+1
|
* Add config_cmd.lua to Makefile.setup.inc.Philipp Janda2015-05-251-5/+5
| | | | | | Without config_cmd.lua in the list of LuaRocks files to install the installation is broken and throws an error when trying to display the usage message.
* Adds new file (fetch/git_https.lua) to Makefile.setup.incIgnacio BurgueƱo2015-04-141-1/+1
| | | | see #350
* Improve hg supportmpeterv2015-03-191-1/+2
| | | | | | * Allow fetching from remote hg repos using hg+http, hg+https and hg+ssh protocols; * Fix incorrect branch cloning.
* New set of Makefiles for self-upgrade.Hisham Muhammad2015-03-171-0/+19