aboutsummaryrefslogtreecommitdiff
path: root/src (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Merge pull request #413 from Tieske/unversion_LRHisham Muhammad2015-11-071-10/+26
|\ | | | | Win installer: Unversion LR target path
| * explicit warn when enviornment variable given filename doesn't existThijs Schreijer2015-10-271-9/+25
| |
| * fixed bad reference to main LuaRocks install path, should fix AppVeyor failuresThijs Schreijer2015-07-201-1/+1
| |
* | Merge pull request #440 from mpeterv/fix-patch-errorHisham Muhammad2015-10-191-11/+6
|\ \ | | | | | | Fix patch error message when source is different
| * | Fix patch error message when source is differentmpeterv2015-10-171-11/+6
| | | | | | | | | | | | | | | | | | | | | | | | check_patched() relies on throwing and catching string 'nomatch'. Pass 0 as the second argument for error() when throwing to avoid location info being added to the message. Fixes lack of error when patch should fail with "source is different" error.
* | | Fix empty line handling in patch.luampeterv2015-10-171-1/+6
|/ / | | | | | | | | | | | | | | Interpret empty lines in hunk bodies as empty context lines, that is, add a space to them. This is consistent with command-line patch tool behaviour. Fixes #434.
* | Revert accidental commit.Hisham Muhammad2015-09-302-4/+2
| |
* | Use env for setting MACOSX_DEPLOYMENT_TARGET.Hisham Muhammad2015-09-303-4/+6
| | | | | | | | See #422.
* | add set_time function for tar module without lfsHisham Muhammad2015-09-222-0/+6
| |
* | Merge pull request #426 from usstwxy/patch-1Hisham Muhammad2015-09-221-3/+4
|\ \ | | | | | | Update tar.lua
| * | Update tar.luaWXY2015-09-211-3/+4
| | | | | | | | | fix a bug occured when unrar some .tar files using this module
* | | missing to close file descriptorTsT2015-09-211-0/+1
| | |
* | | We use lzlib, not lua-zlibHisham Muhammad2015-09-211-1/+1
|/ /
* / Fix git cloning command when using git+http protocolmpeterv2015-07-101-1/+1
|/ | | | | | | git+http and git+https pass '--' instead of '--depth=1' option. As '--branch' option was passed after depth, it caused the former to be interpreted as an extra argument by git. Pass '--branch' first instead.
* Merge branch 'master' of github.com:keplerproject/luarocks into pref_versionedThijs Schreijer2015-07-011-1/+6
|\ | | | | | | | | Conflicts: src/luarocks/cfg.lua
| * Merge pull request #404 from ignacio/url_to_base_dirHisham Muhammad2015-07-011-1/+6
| |\ | | | | | | Strip only known extensions
| | * Strip known extensionsIgnacio Burgueño2015-06-301-1/+6
| | |
| * | Merge pull request #398 from Tieske/refactor_cfgHisham Muhammad2015-07-011-97/+133
| |\ \ | | |/ | |/| Refactor cfg config file loading
| | * added error message in case of a bad platform valueThijs Schreijer2015-06-261-0/+6
| | |
| | * added correct order for platform overridesThijs Schreijer2015-06-261-1/+27
| | |
| | * integrated cfg.platform and cfg.platformsThijs Schreijer2015-06-251-47/+47
| | |
| | * refactored the loading of the config files in a more structural manner, ↵Thijs Schreijer2015-06-251-39/+45
| | | | | | | | | | | | removing duplicate code and error handling.
| | * `detected` was only retained in `cfg` through multiple copies, removed by ↵Thijs Schreijer2015-06-251-47/+45
| | | | | | | | | | | | directly operating on `cfg.platform`
* | | prefer versioned config files and directories over non-versioned onesThijs Schreijer2015-06-301-97/+133
|/ /
* | Make wording of help summaries consistent.Hisham Muhammad2015-06-293-3/+3
| | | | | | | | | | As noted by @mpeterv in https://github.com/keplerproject/luarocks/pull/400#issuecomment-116307146 Changed them so they all use imperative verb form.
* | Merge pull request #400 from ignacio/400-config-helpHisham Muhammad2015-06-291-1/+16
|\ \ | | | | | | 'config' command does not have a help message
| * | Changes wording as suggestedIgnacio Burgueño2015-06-291-1/+1
| | |
| * | Adds help to 'luarocks config' commandIgnacio Burgueño2015-06-261-1/+16
| | |
* | | Add '--rockspec-format' option for write_rockspec commandmpeterv2015-06-262-12/+15
|/ / | | | | | | | | '--rockspec-format' option allows selecting rockspec format version when writing a rockspec.
* | Don't restrict the generator override to mingwIgnacio Burgueño2015-06-251-1/+1
| |
* | Use new key target_cpuIgnacio Burgueño2015-06-251-1/+1
| |
* | CMake needs a hint to use 64 bit target with msvc.Ignacio Burgue o2015-06-251-7/+7
| | | | | | | | | | | | | | | | Only when using Windows 64 bits and the msvc compiler. CMake uses the x86 generator by default. We need to tell it explicitly that we wan't to use the x64 generator. refs #382
* | cmake backend: Generate 64 bits build when appropiateIgnacio Burgueño2015-06-251-1/+5
|/ | | | | | | Adds -DCMAKE_GENERATOR_PLATFORM=x64 when needed. It seems that CMake does not do that by default (although I might be wrong on that). fixes #382
* do not reuse environmentsThijs Schreijer2015-06-251-26/+31
|
* fix travis-ci errorThijs Schreijer2015-06-251-1/+3
|
* removed accidental reintroduced lineThijs Schreijer2015-06-251-1/+0
|
* config.lua is not being integrated, bug introduced in #385Thijs Schreijer2015-06-251-7/+13
|
* Don't shadow filename variable: fixes error message.Hisham Muhammad2015-06-241-2/+2
|
* Merge pull request #393 from Tieske/target_stuffHisham Muhammad2015-06-241-11/+11
|\ | | | | add target cpu info to configuration
| * oops... remove debug stuffThijs Schreijer2015-06-241-9/+0
| |
| * - site_config remains local, not exposedThijs Schreijer2015-06-241-11/+20
| | | | | | | | - added field 'target_cpu' to `cfg` and config file environments
* | Merge pull request #394 from ignacio/build_mandatoryHisham Muhammad2015-06-241-1/+2
|\ \ | | | | | | Make 'build' field in rockspecs mandatory.
| * | Make 'build' field in rockspecs mandatory.Ignacio Burgueño2015-06-241-1/+2
| |/ | | | | | | | | | | | | | | | | Rockspecs must have a 'build' field. If by any chance, it is not needed (see #379), add this: ````lua build = { type = "none" } ````
* | Merge branch 'master' of https://github.com/keplerproject/luarocksHisham Muhammad2015-06-247-14/+65
|\|
| * Merge pull request #385 from Tieske/masterThijs Schreijer2015-06-201-9/+17
| |\ | | | | | | Read os variables from config files
| | * fix: use same environment table for the system config file as well.Thijs Schreijer2015-06-181-23/+16
| | |
| | * fixed typoThijs Schreijer2015-06-171-1/+1
| | |
| | * added 2 functions to the global environment of the config-file loader ↵Thijs Schreijer2015-06-161-1/+16
| | | | | | | | | | | | sandbox; `os_getenv()` and `__dump_env()`
| * | Allows luarocks.cfg to be used without being installed.Ignacio Burgueño2015-06-191-1/+1
| | | | | | | | | | | | This allows to address the issue #386
| * | Factors the code to check for a tool. Changes 'not found' message wording.Ignacio Burgueño2015-06-186-10/+36
| | | | | | | | | | | | | | | Adds the function fs.is_tool_available to check if a given tool (git, hg, cmake, etc) is available.