Commit message (Collapse) | Author | Files | Lines | ||
---|---|---|---|---|---|
2017-10-04 | Patches now can create a new files from /dev/null (#692) | Evgeny Shulgin | 1 | -1/+13 | |
2017-10-04 | Make Makefiles install site_config.lua in new location. | Hisham Muhammad | 2 | -3/+4 | |
Fixes #735. | |||||
2017-10-04 | Fix: handle missing dependencies section in manifest. | Hisham Muhammad | 1 | -2/+2 | |
Closes #718. | |||||
2017-10-04 | Use versioned files only. (#734) | Hisham Muhammad | 16 | -227/+161 | |
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 | |||||
2017-10-04 | Fix detection of directories on Windows | Sebastian Thomschke | 1 | -1/+1 | |
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 ) | |||||
2017-10-04 | Makefile.setup.inc: do not include trailing slash in LUADIR | Daniel Hahler | 1 | -1/+1 | |
LUADIR is used with a following slash everywhere, and it looks confusing when seeing "//" during the build. | |||||
2017-10-03 | Use __tostring to represent versions as strings. | Hisham Muhammad | 2 | -20/+9 | |
2017-10-03 | Safer comparison number. | Hisham Muhammad | 1 | -2/+2 | |
Ensures the special values for dev versions are higher than versions like 20171002. | |||||
2017-09-30 | Revert commited `make build` changes in src/bin | Peter Melnichenko | 2 | -4/+2 | |
2017-09-29 | Travis: cache Busted and LuaCov as well | Hisham Muhammad | 1 | -3/+2 | |
2017-09-29 | Travis: fix use of cache | Hisham Muhammad | 1 | -2/+2 | |
2017-09-29 | Travis: speed up build | Hisham Muhammad | 3 | -5/+7 | |
2017-09-29 | Travis: add cache | Hisham Muhammad | 1 | -0/+13 | |
2017-09-29 | Refactor download() function | Hisham Muhammad | 1 | -31/+47 | |
2017-09-29 | Fix: don't eat up one slash when fixing the path | Hisham Muhammad | 1 | -1/+1 | |
2017-09-29 | Nicer title message for `luarocks search` | Hisham Muhammad | 1 | -1/+2 | |
2017-09-29 | Revise README.md for test/ | Hisham Muhammad | 1 | -19/+24 | |
2017-09-29 | Changes to the output of the test suite | Hisham Muhammad | 2 | -4/+3 | |
2017-09-29 | Document cache option. | Hisham Muhammad | 2 | -0/+4 | |
2017-09-29 | Be stricter when autodetecting `source.dir` | Hisham Muhammad | 1 | -7/+6 | |
Only assume directory is the location when the tarball contains only a single directory at the top level. |