| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
|
|
|
|
| |
On an msys2 install of mingw, make is installed as `mingw32-make`.
If `cmake` is installed, that takes priority over `mingw32-make` when
matching the pattern `*make*.exe`.
This patch changes the pattern to be `*-make*.exe` instead to avoid this
bug.
|
|
|
|
| |
The order here was swapped in #1701 to fix mingw builds (see #1700), but this broke MSVC installations which need to link against the .lib, which defines the dll imports.
|
| |
|
|
|
|
| |
Closes #1671.
|
|
|
|
|
| |
LUA_LIBNAME is not used by LuaRocks anymore. LUALIB is the library
name override on Windows.
|
|
|
|
|
|
|
|
|
|
| |
Prevent LuaRocks itself from using installed modules and blocking their files from removal.
This is not an issue on luarocks.exe because its own copy of lfs is statically linked.
We need to eventually switch to using that always, but for now this is a workable
solution.
Fixes #1428.
|
|
|
|
|
|
|
|
| |
This should be more flexible than hardcoding a value that
may become incorrect once people reconfigure their LuaRocks
to point to another Lua distribution, especially on Windows.
Fixes #905.
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
| |
Reverts 04513372d7d5859ea865252095c3b5ce0762228f
Fixes #1232.
Fixes #1233.
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
`get_visual_studio_directory_from_vswhere`
|
| |
|
|
|
|
| |
Fixes #903.
|
|
|
|
|
|
|
|
| |
Implements versions of exists, is_file, is_dir for POSIX and Windows
using io.open only, based on the semantics of their error codes
on these platforms.
Drops the dependency on TEST.EXE on Windows.
|
| |
|
| |
|
|
|
|
|
| |
Detect operating system and architecture without forking subprocesses,
doing `file`-like detection reading data from well-known system
executables.
|
| |
|
| |
|
| |
|
|
|
| |
Update the Windows installer to better handle gcc toolchain in different environments
|
|
|
|
|
|
|
|
| |
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
|
|\ |
|
| |\ |
|
| |\ \ |
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
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.
|
| |_|/
|/| | |
|
| |/
|/|
| |
| |
| | |
Ravi has "Ravi 5.3" as _VERSION. Don't use _VERSION:sub(5) to get Lua
version, match " (5%.[123])$" instead.
|
| | |
|
| |
| |
| |
| |
| | |
Generate list of names when needed instead of pregenerating
a list of 5.1 and then changing it when LUA_VERSION is different.
|
| |
| |
| |
| |
| | |
check_flags() already ensures that if bundled Lua is
being installed LUA_VERSION is 5.1.
|
| | |
|
| | |
|
| |
| |
| |
| |
| | |
Move gathering of potential lua directories into
a separate function, call it only when needed.
|
| |
| |
| |
| |
| | |
One side effect should be that LUA_INCDIR does not have
trailing backslash when inferred.
|
| |
| |
| |
| | |
One side effect should be that inferred LIB_DIR has no trailing backslash.
|
| |
| |
| |
| |
| |
| | |
Replace repeating code with loops. The only side effect should
be that LUA_BINDIR now does not have trailing backslash when
it's inferred.
|
|/
|
|
|
| |
with that on Unix. This was detected during the port of
the new testsuite to Windows by @robooo.
|
|\
| |
| | |
Add cross compiling support for MSVC.
|
| | |
|
| |
| |
| |
| | |
This is needed, when native compiler is not installed but cross compiler does.
|
|/ |
|
| |
|