Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Release 3.2.1v3.2.1 | Hisham Muhammad | 2019-09-05 | 1 | -1/+1 |
| | |||||
* | configure: fix flag in error message | Hisham Muhammad | 2019-07-26 | 1 | -1/+1 |
| | |||||
* | fix(configure): remove extra leading '/' | Simone Livieri | 2019-06-06 | 1 | -1/+6 |
| | |||||
* | configure: add a version identifier | Hisham Muhammad | 2018-08-13 | 1 | -1/+1 |
| | |||||
* | configure: Add include path template for FreeBSD style | daurnimator | 2018-08-13 | 1 | -0/+1 |
| | |||||
* | configure: Remove duplicate from list of include path templates | daurnimator | 2018-08-13 | 1 | -1/+0 |
| | |||||
* | configure, make: reduce moving parts | Hisham Muhammad | 2018-08-11 | 1 | -14/+2 |
| | | | | | | * Do not set again variables that were set in config.unix * Do not re-detect the Lua version after configure already did it * Remove --luarocksconfdir, use --sysconfdir only | ||||
* | Move config-.lua.in generation to Makefile | daurnimator | 2018-08-10 | 1 | -16/+0 |
| | |||||
* | rocks_tree lowercase to follow convention | daurnimator | 2018-08-10 | 1 | -8/+8 |
| | |||||
* | configure: improve help output | daurnimator | 2018-08-10 | 1 | -37/+32 |
| | |||||
* | prefix and sysconfdir are traditionally lowercase, add luarocksconfdir | daurnimator | 2018-08-10 | 1 | -23/+38 |
| | |||||
* | configure: recommend `make` instead of `make build` | Hisham Muhammad | 2018-07-18 | 1 | -1/+1 |
| | |||||
* | configure: add --with-lua-interpreter option | Hisham Muhammad | 2018-07-10 | 1 | -14/+26 |
| | | | | | Support using any interpreter name, even if it doesn't start with 'lua'. | ||||
* | config file: do not assume 'variable' table exists (for compat with LR2) | Hisham Muhammad | 2018-07-04 | 1 | -4/+6 |
| | | | | | | This change results in a default config that works in both LuaRocks 2 and 3. We do not promise a compatible configuration format, but it's nice to avoid unnecessary breakage if we can. | ||||
* | configure: check presence of lua.h | Hisham Muhammad | 2018-07-04 | 1 | -6/+67 |
| | | | | | | | | | | | | Verification of the Lua include path happens at LuaRocks runtime, but we also perform it here just so that the user gets an early failure if they try to install LuaRocks with the Lua interpreter package but not the "development files" that many Linux distros ship separately. We also include a --disable-incdir-check flag for specialized scenarios: if you do not wish to use "luarocks build", (e.g. when only deploying binary packages) you do not need lua.h installed. This flag skips the check for lua.h in "configure". | ||||
* | Unix: new build system | Hisham Muhammad | 2018-07-01 | 1 | -330/+303 |
| | | | | | | | | | | * 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 | ||||
* | configure: Learn about Lua 5.4 | Kim Alvefur | 2018-05-25 | 1 | -5/+8 |
| | |||||
* | Use versioned files only. (#734) | Hisham Muhammad | 2017-10-04 | 1 | -24/+5 |
| | | | | | | | | Let's take the opportunity of a new major version to make an important cleanup: getting rid of the error-prone unversioned configuration files. This drops support for: * Unversioned config.lua -> use config-5.x.lua * Unversioned luarocks/site_config.lua -> it always generates luarocks/core/site_config_5_x.lua * Unversioned lib/luarocks/rocks -> it always uses lib/luarocks/rocks-5.x | ||||
* | Fixed wrong "interp" in the configure file | Evgeny Shulgin | 2017-04-14 | 1 | -1/+1 |
| | | | Fixed wrong "interp" instead of "where" in the configure file | ||||
* | Prefer versioned Lua interpreter if it exists. | Hisham | 2016-10-28 | 1 | -1/+1 |
| | | | | | | | | | | This avoids in practice a problem that occurs in this scenario: 1. user installs Lua 5.1, gets lua and lua5.1 binaries 2. user installs LuaRocks, it detects and uses lua 3. user installs Lua 5.2, gets lua and lua5.2 binaries (lua is replaced) 4. user installs LuaRocks with --lua-version=5.2, it detects and uses lua 5. luarocks-5.1 now uses lua, which is Lua 5.2, rockspecs get passed the wrong value of $(LUA) | ||||
* | Check if header matches interpreter. | Hisham | 2016-10-26 | 1 | -0/+12 |
| | |||||
* | Improve check of Lua interpreter | Hisham | 2016-10-26 | 1 | -38/+39 |
| | | | | | (e.g. allow it to find `lua5.1` when lua is 5.3 and only `--lua-version=5.1` is given). | ||||
* | Relax Lua version detection to support Ravi | Peter Melnichenko | 2016-10-14 | 1 | -2/+2 |
| | | | | | Ravi has "Ravi 5.3" as _VERSION. Don't use _VERSION:sub(5) to get Lua version, match " (5%.[123])$" instead. | ||||
* | Test that 'unzip' is present in the $PATH. | Hisham | 2016-02-29 | 1 | -3/+5 |
| | |||||
* | Fix find_program() in configure | mpeterv | 2015-12-06 | 1 | -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. | ||||
* | Use `command -v` for obtaining executable path. | Ruslan Kiianchuk | 2015-11-07 | 1 | -1/+1 |
| | | | Seems like `command -v` is defined by POSIX and therefore should be compatible with all POSIX OSes. | ||||
* | Fix `find_program` function to be less fragile | Ruslan Kiianchuk | 2015-11-07 | 1 | -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. | ||||
* | Fix documentation of --lua-version | Hisham Muhammad | 2015-09-17 | 1 | -1/+1 |
| | |||||
* | Add extra smartness to configure to check that the user-given flag seems ↵ | Hisham Muhammad | 2015-03-18 | 1 | -7/+24 |
| | | | | | | correct. Closes #293. | ||||
* | Try the one we have as `lua` first! | Hisham Muhammad | 2015-03-17 | 1 | -1/+1 |
| | |||||
* | Support both --lua-version and --with-lua-version. | Hisham Muhammad | 2015-02-19 | 1 | -2/+2 |
| | | | | Error messages were even already using it by accident! | ||||
* | Fix search of lua interpreter. Closes #301. | Hisham Muhammad | 2015-01-12 | 1 | -5/+5 |
| | |||||
* | Add check for Fedora systems. Closes #289. | Hisham Muhammad | 2014-11-10 | 1 | -0/+4 |
| | |||||
* | Add --with-lua-bin and improve documentation of --with-lua | Reuben Thomas | 2014-08-05 | 1 | -4/+15 |
| | |||||
* | HTTPS support for downloading and uploading rocks. | Hisham Muhammad | 2014-06-26 | 1 | -2/+2 |
| | | | | | | | 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. | ||||
* | prepare luarocks for lua 5.3 | Philipp Janda | 2014-03-26 | 1 | -11/+16 |
| | |||||
* | Fix help, as pointed out by @ignacio | Hisham Muhammad | 2014-03-19 | 1 | -1/+1 |
| | |||||
* | fixed test for empty variable in configure script | Philipp Janda | 2014-01-08 | 1 | -1/+1 |
| | |||||
* | Try versioned "lua" names before the unversioned one. | Hisham Muhammad | 2013-12-23 | 1 | -6/+6 |
| | | | | | Should improve on behavior mentioned at http://stackoverflow.com/questions/20321560/how-do-install-libraries-for-both-lua5-2-and-5-1-using-luarocks/20359102?noredirect=1#comment30696438_20359102 | ||||
* | changed multiarch detection and site_config variables | Philipp Janda | 2013-09-27 | 1 | -1/+1 |
| | |||||
* | support for tables in (runtime_)external_deps_subdirs.* | Philipp Janda | 2013-09-26 | 1 | -5/+5 |
| | |||||
* | detect native multiarch directory on linux | Philipp Janda | 2013-09-25 | 1 | -0/+11 |
| | |||||
* | Preparing for LuaRocks 2.1.0... let's try to install as a rock this time!v2.1.0rc1 | Hisham Muhammad | 2013-07-02 | 1 | -1/+5 |
| | |||||
* | Fix detection of existing configuration. | Hisham Muhammad | 2013-04-14 | 1 | -2/+2 |
| | |||||
* | General improvements for Lua 5.1 and 5.2 coexistance: | Hisham Muhammad | 2013-04-12 | 1 | -13/+34 |
| | | | | | | | * Add --versioned-rocks-dir option to Unix installer, which makes it use paths such as /lib/luarocks/rocks-5.X, and /etc/luarocks/config-5.X.lua (where X is 1 or 2). * Make configure script on Unix autodetect the presence of previous LuaRocks installations and adapt accordingly to avoid conflicts. * Support luarocks.site_config_5_X for users who wish to run two versions from the same source tree (may be useful for LR development). * Try to load config-5.X.lua from home directory before trying config.lua. | ||||
* | Fixed detection of Debian paths for Lua includes. | Hisham Muhammad | 2013-03-06 | 1 | -10/+12 |
| | |||||
* | Add extra check for Debian-based systems... | Hisham Muhammad | 2012-09-03 | 1 | -3/+10 |
| | |||||
* | fix behavior of $(LUA)v2.0.10 | Hisham Muhammad | 2012-07-17 | 1 | -0/+1 |
| | |||||
* | Further steps for Lua 5.2 support | Hisham Muhammad | 2012-03-09 | 1 | -36/+84 |
| | |||||
* | Be nice to Debian/Ubuntu users and their non-standard directories... | Hisham Muhammad | 2010-08-30 | 1 | -3/+10 |
| |