| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
| |
Binary obtained from
https://eternallybored.org/misc/wget/
|
| |
|
| |
|
|
|
|
|
| |
According to the Lua's manual:
> Once it finds a C library, this searcher first uses a dynamic link facility to link the application with the library. Then it tries to find a C function inside the library to be used as the loader. The name of this C function is the string "luaopen_" concatenated with a copy of the module name where each dot is replaced by an underscore. Moreover, if the module name has a hyphen, its prefix up to (and including) the first hyphen is removed. For instance, if the module name is a.v1-b.c, the function name will be luaopen_b_c.
|
|
|
|
|
|
|
|
|
|
| |
* Default Mac image has been changed on Travis. Use `pip2` instead of `pip`.
* Don't install bit32 on Appveyor or luacov-coveralls on Travis.
luacov-coveralls isn't used anymore.
* Pass luacov.report.out to codecov explicitly on Appveyor, it doesn't
find it there. Also disable gcov run.
* Use cluacov, should hopefully improve speed and coverage accuracy.
* Use the new location for coverage files (testrun instead of test).
|
|
|
| |
Update the Windows installer to better handle gcc toolchain in different environments
|
| |
|
| |
|
|
|
|
|
|
|
|
| |
`luarocks path` now exports versioned variables `LUA_PATH_5_x` and
`LUA_CPATH_5_x` instead of `LUA_PATH` and `LUA_CPATH`
when those are in use in your system.
Fixes #760.
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
Fixes #740.
|
| |
|
| |
|
|
|
|
| |
Fix #750.
|
| |
|
|
|
|
|
| |
Do not halt a deletion process when trying to delete something
that was not found.
|
| |
|
|
|
|
|
|
| |
Match terminology used in luarocks.org.
'scm' is still supported for compatibility reasons,
but is no longer the recommended term.
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
Fixes #738.
|
|
|
|
|
|
|
|
|
|
|
| |
This adds support for easily requesting `dev` modules from
LuaRocks.org, as in:
```
luarocks install --dev luafilesystem
```
The list of URLs configured in `rocks_servers` is prepended
with a list containing "/dev" in their paths.
|
|
|
|
|
| |
This avoids trouble with changing package.paths during
tests.
|
|
|
|
|
| |
Use an order that works better with the Lua function
syntax.
|
|
|
|
|
|
|
|
|
|
|
| |
* For each `luarocks.core.x` module, make `luarocks.x` module
load the core module explicitly as `core`, and expose its
relevant methods explicitly as well (instead of using
`setmetatable`).
* Move all type checking out of the core, adjusting the manifest
modules accordingly.
* Create separate modules for the rockspec and manifest
schemas in the `luarocks.type` namespace.
|
| |
|
|
|
|
| |
Do not hit the github repository for LuaSocket in upload test.
|
|
|
|
|
|
| |
The code was already effectively using "/" as the only
directory separator, even on Windows. This commit removes
the unnecessary indirection.
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
| |
Move `array_contains` away from the `luarocks.util` kitchen sink,
and add a `luarocks.fun` module with some basic functional utilities.
I considered using luafun instead, but at this point the basic
functionality of LuaRocks has no mandatory external dependencies,
so I thought I'd just add these functions internally instead.
|
| |
|
| |
|
| |
|
|
|
|
| |
Fixes #735.
|
|
|
|
| |
Closes #718.
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Function tools.delete performs a test to determine if a path is a file or a directory to select the appropriate delete command rmdir vs del.
The current test however results in rmdir being used on files too, which then results in a build abortion with error "The directory name is invalid.".
E.g.
if exist "c:\luarocks\share\lua\5.2\luasocket_3_0rc1_2-socket.lua\" ( echo "I am a folder" ) else ( echo "I am a file" )
wrongly prints "I am a folder" (tested on Windows 10)
Whereas
if exist "c:\luarocks\share\lua\5.2\luasocket_3_0rc1_2-socket.lua\*" ( echo "I am a folder" ) else ( echo "I am a file" )
correctly prints "I am a file" (tested on Windows 10)
This fixes #670
(Also see https://stackoverflow.com/a/1466528/1793220 )
|