Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | Makefile: Use some makefile conventions for directory variables | daurnimator | 2018-08-10 | 1 | -14/+21 | |
| | ||||||
* | Makefile: Use 'install' for installing lua source files | daurnimator | 2018-08-10 | 1 | -3/+5 | |
| | ||||||
* | Makefile: Use INSTALL_DATA to install config file | daurnimator | 2018-08-10 | 1 | -2/+2 | |
| | ||||||
* | Makefile: Clean with a single 'rm' invocation | daurnimator | 2018-08-10 | 1 | -7/+7 | |
| | ||||||
* | Makefile: Create ./build/luarocks{,-admin} in build phase | daurnimator | 2018-08-10 | 1 | -9/+9 | |
| | ||||||
* | Makefile: Have 'all' rule invoke 'build'; not vice-versa | daurnimator | 2018-08-10 | 1 | -2/+2 | |
| | ||||||
* | Makefile: Generate luarocks 'binary' locally before installing with 'install' | daurnimator | 2018-08-10 | 2 | -4/+13 | |
| | ||||||
* | Makefile: Use printf and single file redirection instead of multiple echos | daurnimator | 2018-08-10 | 1 | -8/+10 | |
| | ||||||
* | Makefile: use $(@D) | daurnimator | 2018-08-10 | 1 | -2/+2 | |
| | ||||||
* | prefix and sysconfdir are traditionally lowercase, add luarocksconfdir | daurnimator | 2018-08-10 | 2 | -50/+65 | |
| | ||||||
* | Makefile: Add DESTDIR support | daurnimator | 2018-08-10 | 1 | -20/+20 | |
| | ||||||
* | binary/all_in_one: Remove site_config exclusion (#873) | daurnimator | 2018-08-08 | 1 | -2/+2 | |
| | ||||||
* | cfg: document cfg.initbefore-makefile-refactor | Hisham Muhammad | 2018-08-08 | 1 | -0/+15 | |
| | ||||||
* | fs.win32: fix environment variable name in generated wrapper | Hisham Muhammad | 2018-08-05 | 1 | -1/+1 | |
| | | | | | | | | it is LUAROCKS_SYSCONFDIR, not LUAROCKS_SYSCONFIG Closes #459. Thanks @daurnimator for going through the old issues! | |||||
* | Fix: do not detect .luarocks/config-5.x.lua and lua_modules as modules | Hisham Muhammad | 2018-08-02 | 2 | -2/+54 | |
| | | | | | | | | | | | | | Running luarocks init a second time after deleting the rockspec was mis-detects .luarocks/config-5.x.lua as a module, creating an entry `["luarocks.config-5.3"] = ".luarocks/config-5.3.lua"` in `build.modules`. Same problem happened with modules under `lua_modules`. This excludes `.luarocks` and `lua_modules` from module detection. Includes a regression test. Closes #847. | |||||
* | init: store Lua location in config | Hisham Muhammad | 2018-08-02 | 1 | -1/+28 | |
| | | | | | This way a user can use `--lua-dir` once, in `luarocks init` and that configuration will be active for the project. | |||||
* | Windows binary: do not hardcode SYSTEM as "MINGW" | Hisham Muhammad | 2018-08-02 | 1 | -2/+2 | |
| | ||||||
* | Do not rewrite path in util.cleanup_path if the desired version is a ↵ | Ryan Hartlage | 2018-08-01 | 2 | -1/+19 | |
| | | | | | | | | substring of the version (#868) * Do not rewrite path in util.cleanup_path if the desired version is a substring of the version * Improve test coverage for core.util.cleanup_path | |||||
* | Tests: refactor and add fixtures for the doc tests | George Roman | 2018-07-31 | 2 | -37/+122 | |
| | ||||||
* | cmd: do not parse assignments after -- | Hisham Muhammad | 2018-07-26 | 1 | -1/+8 | |
| | | | | This allows using assignments with Busted in `luarocks test`. | |||||
* | fs: fix rwx_to_number, add negated mask mode | Hisham Muhammad | 2018-07-26 | 2 | -11/+35 | |
| | | | | Fixes #856. | |||||
* | fetch: propagate error when failing to make a temp dir | Hisham Muhammad | 2018-07-25 | 1 | -1/+4 | |
| | ||||||
* | Tests: add test_env.run_in_tmp utility function | George Roman | 2018-07-24 | 4 | -265/+217 | |
| | ||||||
* | Make fun.partial run with Lua 5.1 | George Roman | 2018-07-24 | 1 | -1/+2 | |
| | ||||||
* | Tests: add more unit tests for fun.lua | George Roman | 2018-07-24 | 1 | -0/+57 | |
| | ||||||
* | cmd: report arch when crashing | Hisham Muhammad | 2018-07-23 | 1 | -1/+8 | |
| | ||||||
* | cfg: set fs_use_modules off for the Windows binary | Hisham Muhammad | 2018-07-23 | 1 | -0/+2 | |
| | | | | This should be a good way to set that automatically. | |||||
* | fs: make zip/unzip/gunzip/bunzip2 respect `nil,err` protocol | Hisham Muhammad | 2018-07-23 | 2 | -11/+31 | |
| | | | | See #850. | |||||
* | fs.copy: skip copying if the source and destination are the same files | George Roman | 2018-07-22 | 2 | -1/+4 | |
| | ||||||
* | Tests: use more fixtures in the build tests | George Roman | 2018-07-22 | 3 | -53/+101 | |
| | ||||||
* | cfg: do not crash when arg is not available | Hisham Muhammad | 2018-07-22 | 1 | -3/+3 | |
| | | | | Fixes #852. | |||||
* | fs.unix.tools: hotfix for touch format | Hisham Muhammad | 2018-07-20 | 1 | -1/+1 | |
| | ||||||
* | install.bat: updates for 3.0.0-rc1 | Hisham Muhammad | 2018-07-20 | 1 | -34/+23 | |
| | ||||||
* | minor luacheck fixes | Hisham Muhammad | 2018-07-18 | 2 | -2/+3 | |
| | ||||||
* | forward error messages from fs.unzip | Hisham Muhammad | 2018-07-18 | 2 | -4/+4 | |
| | ||||||
* | Windows binary: build libbz2 dependency | Hisham Muhammad | 2018-07-18 | 1 | -1/+15 | |
| | ||||||
* | fs: make unpack_archive platform-agnostic using specific fs functions | Hisham Muhammad | 2018-07-18 | 7 | -191/+504 | |
| | | | | | | | Use luarocks.tools.tar for handling tar files, and add platform-specific functions fs.zip, fs.unzip, fs.bunzip2, fs.gunzip, giving them native implementations using Lua modules or alternative implementations using third-party tools. | |||||
* | fs: support both table and number in set_time | Hisham Muhammad | 2018-07-18 | 3 | -1/+32 | |
| | ||||||
* | fs: add filter_file | Hisham Muhammad | 2018-07-18 | 1 | -0/+30 | |
| | ||||||
* | binary: add lua-bz2 dependency | Hisham Muhammad | 2018-07-18 | 2 | -0/+45 | |
| | ||||||
* | tar: compatibility improvement tweaks | Hisham Muhammad | 2018-07-18 | 1 | -24/+45 | |
| | ||||||
* | Tests: tweak dependencies for env=full tests | Hisham Muhammad | 2018-07-18 | 1 | -11/+10 | |
| | ||||||
* | Tests: support running with the default detected OpenSSL locations | Hisham Muhammad | 2018-07-18 | 4 | -16/+12 | |
| | ||||||
* | cmd: only detect sysconfdir on Unix | Hisham Muhammad | 2018-07-18 | 1 | -3/+3 | |
| | | | | On the Windows single-binary this produces a weird "src/" path. | |||||
* | cmd: fix displayed program name in single-binary | Hisham Muhammad | 2018-07-18 | 1 | -1/+1 | |
| | ||||||
* | cmd: portability fixes, don't check LuaJIT for Lua > 5.1 | Hisham Muhammad | 2018-07-18 | 1 | -3/+12 | |
| | ||||||
* | cmd: support --lua-version without --lua-dir | Hisham Muhammad | 2018-07-18 | 1 | -1/+9 | |
| | ||||||
* | cfg: detect Visual Studio Developer Console | Hisham Muhammad | 2018-07-18 | 1 | -1/+8 | |
| | ||||||
* | fun: add fun.partial and fun.flip | Hisham Muhammad | 2018-07-18 | 1 | -0/+37 | |
| | ||||||
* | configure: recommend `make` instead of `make build` | Hisham Muhammad | 2018-07-18 | 1 | -1/+1 | |
| |