aboutsummaryrefslogtreecommitdiff
path: root/src (unfollow)
Commit message (Collapse)AuthorFilesLines
2016-03-19Doc fixes for luarocks.searchmpeterv1-7/+11
2016-03-17Implement magical rockspec picking for "luarocks make"mpeterv2-11/+62
2016-03-14Add HaikuOS as platformDaniel Lemos1-4/+7
2016-03-01Make sure deps-mode is respected when recursing the dependency chain.Hisham1-1/+1
2016-02-29Test that 'unzip' is present in the $PATH.Hisham1-3/+5
2016-02-23Implement MSYS2 supportKarel Tuma1-3/+25
2016-02-19Compatibility with lua-zlibmpeterv1-20/+36
2016-02-13Fix trailing space in dep.show_dep on dep without constraintsmpeterv1-5/+9
2016-02-11Add a test for luarocks new_version --tagmpeterv1-0/+1
2016-02-11Add --tag option for luarocks new_versionmpeterv1-8/+18
Allows using new_version command to create tagged rockspecs from untagged scm rockspecs. If not given, new version is copied from passed tag, with leading 'v' stripped if it's present.
2016-02-11Fix update_source_section in new_versionmpeterv1-22/+37
* Don't confuse cases "MD5 changed with same URL" and "couldn't fetch" * Don't check MD5 if it's not present in the old rockspec * Don't drop errors in fs.get_md5 * Don't drop errors in fetch.find_base_dir
2016-02-11Remove a redundant check in new_versionmpeterv1-3/+0
The template rockspec is type checked, no need to check if source table is present.
2016-02-11Fix "missing argument" message for new_versionmpeterv1-1/+1
2016-02-07Add compatibility with lhf's lmd5 module.Philipp Janda1-0/+8
Closes #494.
2016-02-02Fix docs for path.which_i and some of its usersmpeterv2-24/+24
It actually accepts file name of the module as in manifest.repository[package][version].modules[module], not the module name.
2016-02-01Make search order deterministic.Hisham1-3/+4
2016-01-22Update repo URLs to luarocks.org instead of rocks.moonscript.orgJonathan Goble2-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.
2016-01-11Do not handle cfg.local_cache == nil in luarocks.cachempeterv1-14/+1
cfg.local_cache is always set by defaults. Fixes #479.
2016-01-11Report unknown commands consistentlympeterv1-1/+1
Now both 'luarocks foo' and 'luarocks help foo' print 'Unknown command: foo'.
2016-01-11Remove two unnecessary require callsmpeterv2-2/+1
2016-01-11luarocks make: ignore 'rockspec' directory when no argument givenmpeterv1-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'.
2016-01-102nd occurence of the json error message also updatedThijs Schreijer1-1/+1
2016-01-10removed duplicate code, this part seems copy-pasted from the part that was ↵Thijs Schreijer1-2/+2
later fixed by #455, hence this still contained the same bug
2016-01-10provide a better error message for missing json librariesThijs Schreijer1-3/+12
2016-01-04Upgrade to LuaCov 0.9.1, make coverage viewablempeterv1-19/+16
2015-12-26fix missing variable expansion when using a self contained configurationThijs Schreijer1-1/+1
2015-12-23Add git+ssh support to fetchers, including both kinds of git ssh urlGeoff Leyland2-1/+33
2015-12-22Install luabitop from src rock on travismpeterv1-0/+1
Fixes Travis failure when attempting to fetch luabitop sources from luajit.org, which has blocked downloads from travis recently.
2015-12-19Improve error handling in builtin backendmpeterv1-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.
2015-12-19Fix extension splitting in builting backendmpeterv1-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
2015-12-06Stricter version consistency checks.Hisham Muhammad1-2/+29
2015-12-06Fix find_program() in configurempeterv1-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.
2015-12-05Improve writability checks.Hisham Muhammad3-10/+33
LuaRocks does `mkdir -p` (or equivalent), so we can check for the entire chain of parents for a writable directory. Closes #449.
2015-12-05Process external deps in sorted ordermpeterv1-2/+2
Ensure consistent output for Lua 5.3 where key order of pairs() can change between two runs.
2015-12-05Show candidate files when external deps are missingmpeterv1-18/+33
2015-12-02removed /debug /release switches for setting up the enviornment. it does NOT ↵Thijs Schreijer1-2/+1
determine linking against a debug runtime or release runtime.
2015-12-01added debug/release option for SDK detectionThijs Schreijer1-1/+2
2015-12-01Make sure --local always implies --tree=home.Hisham Muhammad1-0/+5
Alternative fix for problem mentioned in #352.
2015-12-01Fix typoIgnacio Burgueño1-1/+1
2015-12-01updated;Thijs Schreijer1-9/+54
- output on checks done - commandline switch to disable the auto-search for ms tools - added debug libs to the SDK search
2015-11-25fix: bad errormessage and missing quotesThijs Schreijer2-4/+6
2015-11-16Do not distribute appveyor files in release packages.Hisham Muhammad1-2/+2
2015-11-14write config directory only if explictly given, use defaults otherwiseThijs Schreijer2-2/+7
2015-11-07Use `command -v` for obtaining executable path.Ruslan Kiianchuk1-1/+1
Seems like `command -v` is defined by POSIX and therefore should be compatible with all POSIX OSes.
2015-11-07Fix `find_program` function to be less fragileRuslan Kiianchuk1-20/+1
Look for executable path using system utility `which` instead of fragile regular expressions. See $447 for details. Also see discussion in [neovim](https://github.com/neovim/neovim/issues/3620#issuecomment-154757577) issues.
2015-11-03User assertion for required condition check.xpol1-3/+3
2015-11-01Enable batch script delayed expansion and extensions.Xpol Wan1-1/+1
This is required for Windows SDK setenv.cmd.
2015-11-01Support Visual Studio Express Editions and cleanup code.Xpol Wan1-14/+18
2015-11-01Add support for Windows SDK v7.1 and v6.1.Xpol Wan1-24/+60
Other Windows SDK versions requires a separate installation of Visual Studio.
2015-10-27explicit warn when enviornment variable given filename doesn't existThijs Schreijer1-9/+25