aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
...
* init: store Lua location in configHisham Muhammad2018-08-021-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 Muhammad2018-08-021-2/+2
|
* Do not rewrite path in util.cleanup_path if the desired version is a ↵Ryan Hartlage2018-08-012-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 testsGeorge Roman2018-07-312-37/+122
|
* cmd: do not parse assignments after --Hisham Muhammad2018-07-261-1/+8
| | | | This allows using assignments with Busted in `luarocks test`.
* fs: fix rwx_to_number, add negated mask modeHisham Muhammad2018-07-262-11/+35
| | | | Fixes #856.
* fetch: propagate error when failing to make a temp dirHisham Muhammad2018-07-251-1/+4
|
* Tests: add test_env.run_in_tmp utility functionGeorge Roman2018-07-244-265/+217
|
* Make fun.partial run with Lua 5.1George Roman2018-07-241-1/+2
|
* Tests: add more unit tests for fun.luaGeorge Roman2018-07-241-0/+57
|
* cmd: report arch when crashingHisham Muhammad2018-07-231-1/+8
|
* cfg: set fs_use_modules off for the Windows binaryHisham Muhammad2018-07-231-0/+2
| | | | This should be a good way to set that automatically.
* fs: make zip/unzip/gunzip/bunzip2 respect `nil,err` protocolHisham Muhammad2018-07-232-11/+31
| | | | See #850.
* fs.copy: skip copying if the source and destination are the same filesGeorge Roman2018-07-222-1/+4
|
* Tests: use more fixtures in the build testsGeorge Roman2018-07-223-53/+101
|
* cfg: do not crash when arg is not availableHisham Muhammad2018-07-221-3/+3
| | | | Fixes #852.
* fs.unix.tools: hotfix for touch formatHisham Muhammad2018-07-201-1/+1
|
* install.bat: updates for 3.0.0-rc1Hisham Muhammad2018-07-201-34/+23
|
* minor luacheck fixesHisham Muhammad2018-07-182-2/+3
|
* forward error messages from fs.unzipHisham Muhammad2018-07-182-4/+4
|
* Windows binary: build libbz2 dependencyHisham Muhammad2018-07-181-1/+15
|
* fs: make unpack_archive platform-agnostic using specific fs functionsHisham Muhammad2018-07-187-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_timeHisham Muhammad2018-07-183-1/+32
|
* fs: add filter_fileHisham Muhammad2018-07-181-0/+30
|
* binary: add lua-bz2 dependencyHisham Muhammad2018-07-182-0/+45
|
* tar: compatibility improvement tweaksHisham Muhammad2018-07-181-24/+45
|
* Tests: tweak dependencies for env=full testsHisham Muhammad2018-07-181-11/+10
|
* Tests: support running with the default detected OpenSSL locationsHisham Muhammad2018-07-184-16/+12
|
* cmd: only detect sysconfdir on UnixHisham Muhammad2018-07-181-3/+3
| | | | On the Windows single-binary this produces a weird "src/" path.
* cmd: fix displayed program name in single-binaryHisham Muhammad2018-07-181-1/+1
|
* cmd: portability fixes, don't check LuaJIT for Lua > 5.1Hisham Muhammad2018-07-181-3/+12
|
* cmd: support --lua-version without --lua-dirHisham Muhammad2018-07-181-1/+9
|
* cfg: detect Visual Studio Developer ConsoleHisham Muhammad2018-07-181-1/+8
|
* fun: add fun.partial and fun.flipHisham Muhammad2018-07-181-0/+37
|
* configure: recommend `make` instead of `make build`Hisham Muhammad2018-07-181-1/+1
|
* Makefile: remove ./ from build targetsHisham Muhammad2018-07-181-6/+6
| | | | Improves compatibility with FreeBSD
* write_rockspec: detect ISC licenseHisham Muhammad2018-07-181-5/+11
|
* write_rockspec: detect git+ssh and hg+sshHisham Muhammad2018-07-181-4/+13
|
* build.command: don't export LD or CFLAGSHisham Muhammad2018-07-181-2/+2
| | | | | This avoids breakage with existing rockspecs that don't expect it, as seen when building the single-binary.
* Tests: use fixtures for some build integration testsGeorge Roman2018-07-181-24/+80
|
* Reorder Appveyor testsGeorge Roman2018-07-181-24/+25
|
* Add general improvements to the fs moduleGeorge Roman2018-07-165-44/+61
|
* Update the behavior of fs.set_permissions on WindowsGeorge Roman2018-07-162-20/+45
|
* Tests: add tests for the dynamic commandsGeorge Roman2018-07-161-0/+57
|
* Use $(CURDIR) instead of $(PWD) in MakefilesPeter Melnichenko2018-07-102-7/+7
| | | | | | | $(CURDIR) is built-in and is guaranteed to always work. $(PWD) is inherited from the shell and may be incorrect or missing. In particular, it is invalid if make is run by some program that changes current directory prior to the execution.
* cfg: detect sysconfdir based on location of sourcesHisham Muhammad2018-07-101-20/+39
| | | | | | | | | | This will help a stand-alone luarocks.loader find the system config file without any environment variable or hardcoded value, in most common situations (i.e. unless a non-standard sysconfdir was given during installation -- but then a stand-alone luarocks.loader loaded by a third-party program probably shouldn't assume non-standard configurations anyway; and when they do they should set up their environment accordingly, preloading luarocks.core.hardcoded.)
* luarocks, luarocks-admin: load cfg first, for luarocks.loaderHisham Muhammad2018-07-102-0/+6
| | | | | Load luarocks.core.cfg first so that luarocks.loader knows it is running inside LuaRocks.
* configure: add --with-lua-interpreter optionHisham Muhammad2018-07-101-14/+26
| | | | | Support using any interpreter name, even if it doesn't start with 'lua'.
* Tests: remove redundant build testsGeorge Roman2018-07-051-43/+0
|
* Tests: unit tests for build.builtinGeorge Roman2018-07-051-19/+454
|