aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Update repo URLs to luarocks.org instead of rocks.moonscript.orgJonathan Goble2016-01-222-2/+2
| | | | Previously, this used an old URL and downloaded over HTTP, in cleartext. This commit updates to the URL that the old one redirects to, and changes to HTTPS encryption for security. HTTPS is currently impossible on rocks.moonscript.org because the security certificate for that domain expired in May 2015.
* Do not handle cfg.local_cache == nil in luarocks.cachempeterv2016-01-111-14/+1
| | | | cfg.local_cache is always set by defaults. Fixes #479.
* Report unknown commands consistentlympeterv2016-01-111-1/+1
| | | | | Now both 'luarocks foo' and 'luarocks help foo' print 'Unknown command: foo'.
* Remove two unnecessary require callsmpeterv2016-01-112-2/+1
|
* luarocks make: ignore 'rockspec' directory when no argument givenmpeterv2016-01-111-1/+1
| | | | | | | Without an argument luarocks make looks if there is only one rockspec in the current directory. Consider only files as potential rockspec to avoid strange error when current directory contains a directory ending with 'rockspec'.
* Merge pull request #467 from mpeterv/build-builtin-errorsHisham Muhammad2016-01-111-8/+7
|\ | | | | Improve builtin build backend errors
| * Improve error handling in builtin backendmpeterv2015-12-191-6/+5
| | | | | | | | | | | | | | | | Show error message from fs.copy when failed to install a file. Nice for Lua module files, since their existence is not checked beforehand. Also remove extra 'local ok, err' declarations.
| * Fix extension splitting in builting backendmpeterv2015-12-191-2/+2
| | | | | | | | | | | | | | | | | | | | | | Fixes incorrect gcc command and error message when a file name doesn't contain a dot: Error: Build error: Failed compiling object .o becomes Error: Build error: Failed compiling object dotlessname
* | Merge pull request #478 from mpeterv/viewable-coverageHisham Muhammad2016-01-041-19/+16
|\ \ | | | | | | Upgrade to LuaCov 0.9.1, make coverage viewable
| * | Upgrade to LuaCov 0.9.1, make coverage viewablempeterv2016-01-041-19/+16
|/ /
* | Merge pull request #473 from geoffleyland/add-git-ssh-supportHisham Muhammad2015-12-292-1/+33
|\ \ | | | | | | Add git+ssh support to fetchers, including both kinds of git ssh url
| * | Add git+ssh support to fetchers, including both kinds of git ssh urlGeoff Leyland2015-12-232-1/+33
| | |
* | | Merge pull request #476 from Tieske/masterThijs Schreijer2015-12-261-1/+1
|\ \ \ | |/ / |/| | fix missing variable expansion when using a self contained configuration
| * | fix missing variable expansion when using a self contained configurationThijs Schreijer2015-12-261-1/+1
| |/
* | Merge pull request #471 from mpeterv/fix-travisHisham Muhammad2015-12-221-0/+1
|\ \ | |/ |/| Install luabitop from src rock on travis
| * Install luabitop from src rock on travismpeterv2015-12-221-0/+1
|/ | | | | Fixes Travis failure when attempting to fetch luabitop sources from luajit.org, which has blocked downloads from travis recently.
* Merge branch 'master' of https://github.com/keplerproject/luarocksHisham Muhammad2015-12-061-1/+5
|\
| * Fix find_program() in configurempeterv2015-12-061-1/+5
| | | | | | | | | | | | which returns path to the program, not to the directory containing it. That causes errors when configuring without --with-lua. The fix is to apply 'dirname' if 'command -v' was a success.
* | Stricter version consistency checks.Hisham Muhammad2015-12-061-2/+29
|/
* Improve writability checks.Hisham Muhammad2015-12-053-10/+33
| | | | | | LuaRocks does `mkdir -p` (or equivalent), so we can check for the entire chain of parents for a writable directory. Closes #449.
* Merge pull request #464 from mpeterv/improve-ext-depsHisham Muhammad2015-12-051-19/+34
|\ | | | | Show candidate files when external deps are missing
| * Process external deps in sorted ordermpeterv2015-12-051-2/+2
| | | | | | | | | | Ensure consistent output for Lua 5.3 where key order of pairs() can change between two runs.
| * Show candidate files when external deps are missingmpeterv2015-12-051-18/+33
|/
* Merge pull request #462 from Tieske/test_xpolThijs Schreijer2015-12-021-4/+140
|\ | | | | Auto setup MSVC enviornments
| * removed /debug /release switches for setting up the enviornment. it does NOT ↵Thijs Schreijer2015-12-021-2/+1
| | | | | | | | determine linking against a debug runtime or release runtime.
| * Merge branch 'test_xpol' of github.com:Tieske/luarocks into test_xpolThijs Schreijer2015-12-011-1/+1
| |\
| | * Merge pull request #1 from ignacio/patch-1Thijs Schreijer2015-12-011-1/+1
| | |\ | | | | | | | | Fix typo
| | | * Fix typoIgnacio Burgueño2015-12-011-1/+1
| | |/
| * / added debug/release option for SDK detectionThijs Schreijer2015-12-011-1/+2
| |/
| * updated;Thijs Schreijer2015-12-011-9/+54
| | | | | | | | | | | | - output on checks done - commandline switch to disable the auto-search for ms tools - added debug libs to the SDK search
| * Merge branch 'master' of github.com:xpol/luarocks into test_xpolThijs Schreijer2015-12-011-1/+92
| |\
| | * User assertion for required condition check.xpol2015-11-031-3/+3
| | |
| | * Enable batch script delayed expansion and extensions.Xpol Wan2015-11-011-1/+1
| | | | | | | | | | | | This is required for Windows SDK setenv.cmd.
| | * Support Visual Studio Express Editions and cleanup code.Xpol Wan2015-11-011-14/+18
| | |
| | * Add support for Windows SDK v7.1 and v6.1.Xpol Wan2015-11-011-24/+60
| | | | | | | | | | | | Other Windows SDK versions requires a separate installation of Visual Studio.
| | * Move mingw test out of get_msvc_env_setup_cmd().Xpol Wan2015-10-271-3/+1
| | |
| | * Don't setup msvc when user desires MinGW.Xpol Wan2015-10-271-0/+2
| | |
| | * Add comments about Windows SDKs.Xpol Wan2015-10-271-0/+3
| | |
| | * Better msvc compiler setup compatibility.Xpol Wan2015-10-271-22/+32
| | | | | | | | | | | | | | | | | | 1. Use vcvarsall.bat if exists. 2. Use vcvars32.bat / vcvars64.bat if exists. 3. Do no compiler env setup in luarocks.bat if 1 and 2 are both not exists.
| | * Better setup vc compiler, should compatible with Windows SDK.Xpol Wan2015-10-241-13/+30
| | | | | | | | | | | | | | | 1. Use reg: HKEY_LOCAL_MACHINE\SOFTWARE[\Wow6432Node]\Microsoft\VisualStudio\<version>\Setup\VC:ProductDir 2. Use bin\vcvars32.bat and bin\amd64\vcvars64.bat instead of vcvarsall.bat.
| | * Automatically setup MSVC command line tools for VC2008 or above.Xpol Wan2015-10-231-0/+21
| | |
* | | Merge branch 'master' of https://github.com/keplerproject/luarocksHisham Muhammad2015-12-013-6/+13
|\ \ \
| * \ \ Merge pull request #453 from Tieske/default_config_locationHisham Muhammad2015-12-012-2/+7
| |\ \ \ | | |/ / | |/| | write config directory only if explictly given, use defaults otherwise
| | * | write config directory only if explictly given, use defaults otherwiseThijs Schreijer2015-11-142-2/+7
| | | |
| * | | Merge pull request #455 from Tieske/fix_errormsgThijs Schreijer2015-11-252-4/+6
| |\ \ \ | | | | | | | | | | fix: bad errormessage and missing quotes
| | * | | fix: bad errormessage and missing quotesThijs Schreijer2015-11-252-4/+6
| | |/ /
* | / / Make sure --local always implies --tree=home.Hisham Muhammad2015-12-011-0/+5
|/ / / | | | | | | | | | Alternative fix for problem mentioned in #352.
* | | Merge branch 'master' of https://github.com/keplerproject/luarocksHisham Muhammad2015-11-165-109/+110
|\ \ \
| * \ \ Merge pull request #448 from zoresvit/patch-1Hisham Muhammad2015-11-111-20/+1
| |\ \ \ | | |/ / | |/| | Fix `find_program` function to be less fragile
| | * | Use `command -v` for obtaining executable path.Ruslan Kiianchuk2015-11-071-1/+1
| | | | | | | | | | | | Seems like `command -v` is defined by POSIX and therefore should be compatible with all POSIX OSes.