aboutsummaryrefslogtreecommitdiff
path: root/install.bat (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Add lua-compat53 files in install.batTobiasz Laskowski2025-02-241-0/+11
|
* Fix make check for msys2 mingw system (#1745)tobil4sk2025-02-211-1/+1
| | | | | | | | | 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.
* Fix LUA_LIBDIR for msvc installations (#1744)tobil4sk2025-02-211-1/+3
| | | | 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.
* Prioritise bin over lib for LUA_LIBDIR on windows (#1701)tobil4sk2024-08-011-1/+1
|
* install.bat: always set LUA_DIR if Lua install is foundHisham Muhammad2024-05-131-0/+9
| | | | Closes #1671.
* fix(windows): set LUALIB in install.batHisham Muhammad2024-02-281-4/+4
| | | | | LUA_LIBNAME is not used by LuaRocks anymore. LUALIB is the library name override on Windows.
* fix: prevent LuaRocks from blocking lfs from removal on WindowsHisham Muhammad2024-02-261-0/+1
| | | | | | | | | | 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.
* fix: let runtime detection handle LUALIB filenameHisham Muhammad2024-02-201-2/+1
| | | | | | | | 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.
* drop cfg.lua_interpreter, use cfg.variables.LUAHisham Muhammad2024-02-181-9/+17
|
* win32: use Windows's own MKDIR and RMDIRHisham Muhammad2022-02-171-1/+1
|
* install.bat: add >NUL redirects to all msvc compiler environment commandsHisham Muhammad2021-03-161-3/+3
|
* redirect output from vcvarsall.bat to nul (#1288)dwenegar2021-03-161-1/+1
|
* Revert change in MSVC env setup scriptHisham Muhammad2020-12-101-1/+1
| | | | | | | Reverts 04513372d7d5859ea865252095c3b5ce0762228f Fixes #1232. Fixes #1233.
* specify eol for batch files in `.editorconfig`.Simone Livieri2020-09-161-1230/+1230
|
* silence the MSVC env setup scriptSimone Livieri2020-09-161-1230/+1230
|
* win32: config-5.1.lua refactoring ubildInEdited2020-01-141-6/+6
|
* install.bat: initial support for Windows on ARMAndre Alves Garzia2020-01-061-4/+10
|
* Report any error message encountered by ↵Rui Xia2019-07-261-1/+4
| | | | `get_visual_studio_directory_from_vswhere`
* Support VS tool chain 2017 or higherRui Xia2019-07-261-4/+56
|
* install.bat: always set SYSCONFDIRHisham Muhammad2019-07-151-6/+1
| | | | Fixes #903.
* fs: versions of exists, is_file, is_dir for Unix and Windows that do not forkHisham Muhammad2019-04-011-2/+11
| | | | | | | | 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.
* Fix small misspellings (#957)Antonin Décimo2019-02-091-2/+2
|
* Unbundle pe-parser from LuaRocks sourcesHisham Muhammad2018-10-301-1/+1
|
* core.sysdetect: add fork-free OS detection (#938)Hisham Muhammad2018-10-301-1/+1
| | | | | Detect operating system and architecture without forking subprocesses, doing `file`-like detection reading data from well-known system executables.
* install.bat: updates for 3.0.0-rc1Hisham Muhammad2018-07-201-34/+23
|
* Move win32.pe-parser to luarocks.fs.win32.pe-parserHisham Muhammad2018-06-281-3/+1
|
* Update install.bat for 5.4 supportPeter Melnichenko2018-05-251-5/+5
|
* Update Windows installer to better handle gcc toolchains (#759)Thijs Schreijer2018-01-111-3/+89
| | | Update the Windows installer to better handle gcc toolchain in different environments
* Use versioned files only. (#734)Hisham Muhammad2017-10-041-6/+7
| | | | | | | | 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
* Merge branch 'luarocks-3'Hisham Muhammad2017-09-131-1/+1
|\
| * Merge branch 'master' into luarocks-3Hisham2016-10-151-1/+1
| |\
| * \ Merge branch 'master' into luarocks-3Hisham2016-10-141-158/+132
| |\ \
| * | | Core modules reorganization.Hisham2016-06-301-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* | | | keplerproject/luarocks -> luarocks/luarocksHisham2016-11-071-1/+1
| |_|/ |/| |
* | | Relax Lua version detection to support RaviPeter Melnichenko2016-10-141-1/+1
| |/ |/| | | | | | | Ravi has "Ravi 5.3" as _VERSION. Don't use _VERSION:sub(5) to get Lua version, match " (5%.[123])$" instead.
* | install.bat: get rid of string splitting functionPeter Melnichenko2016-08-231-30/+3
| |
* | install.bat: get rid of vars.LUA_LIB_NAMESPeter Melnichenko2016-08-231-15/+8
| | | | | | | | | | Generate list of names when needed instead of pregenerating a list of 5.1 and then changing it when LUA_VERSION is different.
* | Remove a redundant check in install.batPeter Melnichenko2016-08-231-3/+0
| | | | | | | | | | check_flags() already ensures that if bundled Lua is being installed LUA_VERSION is 5.1.
* | Update install.bat help messagePeter Melnichenko2016-08-221-1/+1
| |
* | Autodetect Lua version in install.batPeter Melnichenko2016-08-221-18/+51
| |
* | Split look_for_lua_install in install.batPeter Melnichenko2016-08-211-26/+26
| | | | | | | | | | Move gathering of potential lua directories into a separate function, call it only when needed.
* | Refactor look_for_headers in install.batPeter Melnichenko2016-08-211-18/+20
| | | | | | | | | | One side effect should be that LUA_INCDIR does not have trailing backslash when inferred.
* | Refactor look_for_link_libraries in install.batPeter Melnichenko2016-08-211-15/+15
| | | | | | | | One side effect should be that inferred LIB_DIR has no trailing backslash.
* | Refactor look_for_interpreter in install.batPeter Melnichenko2016-08-211-45/+21
| | | | | | | | | | | | Replace repeating code with loops. The only side effect should be that LUA_BINDIR now does not have trailing backslash when it's inferred.
* | Make behavior of config files on Windows more consistentHisham2016-08-111-1/+1
|/ | | | | with that on Unix. This was detected during the port of the new testsuite to Windows by @robooo.
* Merge pull request #548 from xpol/msvc-cross-compilingPeter Melnichenko2016-06-111-9/+22
|\ | | | | Add cross compiling support for MSVC.
| * Fallback to vcvarsall.bat if compiler specific bat not found.Xpol Wan2016-05-231-0/+8
| |
| * Add cross compiling support for MSVC.Xpol Wan2016-05-031-11/+16
| | | | | | | | This is needed, when native compiler is not installed but cross compiler does.
* | Fix some luacheck warnings in install.batPeter Melnichenko2016-05-081-6/+3
|/
* install.bat: fix Wow6432Node substitutionmpeterv2016-04-031-1/+1
|