aboutsummaryrefslogtreecommitdiff
path: root/.busted (unfollow)
Commit message (Collapse)AuthorFilesLines
2018-07-20Tests: add smoke testadd-smoke-testHisham Muhammad3-5/+76
2018-07-20fs.unix.tools: hotfix for touch formatHisham Muhammad1-1/+1
2018-07-20install.bat: updates for 3.0.0-rc1Hisham Muhammad1-34/+23
2018-07-18minor luacheck fixesHisham Muhammad2-2/+3
2018-07-18forward error messages from fs.unzipHisham Muhammad2-4/+4
2018-07-18Windows binary: build libbz2 dependencyHisham Muhammad1-1/+15
2018-07-18fs: make unpack_archive platform-agnostic using specific fs functionsHisham Muhammad7-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.
2018-07-18fs: support both table and number in set_timeHisham Muhammad3-1/+32
2018-07-18fs: add filter_fileHisham Muhammad1-0/+30
2018-07-18binary: add lua-bz2 dependencyHisham Muhammad2-0/+45
2018-07-18tar: compatibility improvement tweaksHisham Muhammad1-24/+45
2018-07-18Tests: tweak dependencies for env=full testsHisham Muhammad1-11/+10
2018-07-18Tests: support running with the default detected OpenSSL locationsHisham Muhammad4-16/+12
2018-07-18cmd: only detect sysconfdir on UnixHisham Muhammad1-3/+3
On the Windows single-binary this produces a weird "src/" path.
2018-07-18cmd: fix displayed program name in single-binaryHisham Muhammad1-1/+1
2018-07-18cmd: portability fixes, don't check LuaJIT for Lua > 5.1Hisham Muhammad1-3/+12
2018-07-18cmd: support --lua-version without --lua-dirHisham Muhammad1-1/+9
2018-07-18cfg: detect Visual Studio Developer ConsoleHisham Muhammad1-1/+8
2018-07-18fun: add fun.partial and fun.flipHisham Muhammad1-0/+37
2018-07-18configure: recommend `make` instead of `make build`Hisham Muhammad1-1/+1
2018-07-18Makefile: remove ./ from build targetsHisham Muhammad1-6/+6
Improves compatibility with FreeBSD
2018-07-18write_rockspec: detect ISC licenseHisham Muhammad1-5/+11
2018-07-18write_rockspec: detect git+ssh and hg+sshHisham Muhammad1-4/+13
2018-07-18build.command: don't export LD or CFLAGSHisham Muhammad1-2/+2
This avoids breakage with existing rockspecs that don't expect it, as seen when building the single-binary.
2018-07-18Tests: use fixtures for some build integration testsGeorge Roman1-24/+80
2018-07-18Reorder Appveyor testsGeorge Roman1-24/+25
2018-07-16Add general improvements to the fs moduleGeorge Roman5-44/+61
2018-07-16Update the behavior of fs.set_permissions on WindowsGeorge Roman2-20/+45
2018-07-16Tests: add tests for the dynamic commandsGeorge Roman1-0/+57
2018-07-10Use $(CURDIR) instead of $(PWD) in MakefilesPeter Melnichenko2-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.
2018-07-10cfg: detect sysconfdir based on location of sourcesHisham Muhammad1-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.)
2018-07-10luarocks, luarocks-admin: load cfg first, for luarocks.loaderHisham Muhammad2-0/+6
Load luarocks.core.cfg first so that luarocks.loader knows it is running inside LuaRocks.
2018-07-10configure: add --with-lua-interpreter optionHisham Muhammad1-14/+26
Support using any interpreter name, even if it doesn't start with 'lua'.
2018-07-05Tests: remove redundant build testsGeorge Roman1-43/+0
2018-07-05Tests: unit tests for build.builtinGeorge Roman1-19/+454
2018-07-05Tests: separate OPENSSL_DIRS into OPENSSL_INCDIR and OPENSSL_LIBDIRGeorge Roman4-10/+30
2018-07-05README: clearer installation instructionsHisham Muhammad1-7/+10
2018-07-04md5: fix version checks of toolsHisham Muhammad1-2/+2
2018-07-04help: report LuaJIT versionHisham Muhammad1-0/+3
2018-07-04builtin: detect 'lib' as a directory of Lua sources as wellHisham Muhammad1-1/+1
2018-07-04deps: nicer message with Lua headers are not foundHisham Muhammad1-0/+5
2018-07-04binary: derive library search paths; minor Windows fixHisham Muhammad2-3/+2
2018-07-04config file: do not assume 'variable' table exists (for compat with LR2)Hisham Muhammad2-7/+10
This change results in a default config that works in both LuaRocks 2 and 3. We do not promise a compatible configuration format, but it's nice to avoid unnecessary breakage if we can.
2018-07-04configure: check presence of lua.hHisham Muhammad1-6/+67
Verification of the Lua include path happens at LuaRocks runtime, but we also perform it here just so that the user gets an early failure if they try to install LuaRocks with the Lua interpreter package but not the "development files" that many Linux distros ship separately. We also include a --disable-incdir-check flag for specialized scenarios: if you do not wish to use "luarocks build", (e.g. when only deploying binary packages) you do not need lua.h installed. This flag skips the check for lua.h in "configure".
2018-07-04cmd: dynamically load additional external commandsThijs Schreijer4-10/+57
Instead of a fixed list of commands, a dynamic list of modules residing within the `luarocks.cmd.external.<cmd_name>` in the Lua path will be dynamically added. This allows extending LuaRocks with additional commands. Same for `luarocks.admin.cmd.external.<cmd_name>`.
2018-07-03fs: fix permissions when creating directories and wrappersHisham Muhammad2-2/+2
Newly created directories and wrappers need to be executable/traversable by all.
2018-07-02ChangeLog: formatting tweaksHisham Muhammad1-13/+13
2018-07-02Makefile: minor improvement to wrapper scriptHisham Muhammad1-2/+2
2018-07-02Docs: updated Changelog for LuaRocks 3.0Hisham Muhammad1-52/+151
2018-07-02Experimental Windows cross-compiled binary buildHisham Muhammad9-63/+264
This commit consolidates the work that has been ongoing over the last few weeks in producing the single-binary builds of LuaRocks based on the new distribution model described in https://github.com/luarocks/luarocks/wiki/Project:-LuaRocks-new-distribution-model The single-binary build is in a good shape for Linux, it's a work-in-progress for Windows (binaries do build, but some work on the dependencies is still necessary), and is untested in macOS.