Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | Fix manif.load_manifest changing current directory | Paul Ouellette | 2019-09-03 | 1 | -2/+2 | |
| | ||||||
* | build: fix --branch flag | Hisham Muhammad | 2019-09-03 | 4 | -20/+9 | |
| | | | | | | | | | | | | The `--branch` flag is optional and takes a string argument. The `--branch` flag does not make sense for `luarocks make` because it does not fetch sources, it builds/installs based on whatever is in the current directory. This also adds tests that verify the behavior, but these don't run in Travis CI because of issues running a Git daemon there. They were verified locally. | |||||
* | Fix `luarocks build --pack-binary-rock --no-doc` | Paul Ouellette | 2019-09-03 | 1 | -4/+4 | |
| | ||||||
* | util: fix cleanup_path order | Hisham Muhammad | 2019-09-02 | 3 | -15/+18 | |
| | | | | | | | | | | | This change ensures that the package path fixups done by the bin wrapper take effect. Commit 72d80a35 had the default behavior inverted, and affected its use in `luarocks.core.cfg`. Commit 0823c4dd62e accidentally removed the use of `flags["append"]` in `luarocks.cmd.path` and this slipped code review. This restores it. | |||||
* | cmd: fix linebreaks listing rocks trees | Hisham Muhammad | 2019-08-30 | 1 | -1/+2 | |
| | ||||||
* | cmd: include explicit preliminary cfg.init | Hisham Muhammad | 2019-08-30 | 1 | -0/+3 | |
| | ||||||
* | fs: make fs reinitializable | Hisham Muhammad | 2019-08-30 | 2 | -8/+18 | |
| | | | | See #1069. | |||||
* | cmd: move cross-compilation hack to the right place | Hisham Muhammad | 2019-08-28 | 1 | -13/+12 | |
| | ||||||
* | Fix wrong versions in search failure error message | Paul Ouellette | 2019-08-27 | 2 | -3/+5 | |
| | ||||||
* | Fix build --no-doc | Paul Ouellette | 2019-08-27 | 1 | -0/+1 | |
| | ||||||
* | Merge PR #1035 | daurnimator | 2019-08-24 | 35 | -1225/+3089 | |
|\ | ||||||
| * | Rewrap some help messages to 80 cols | Paul Ouellette | 2019-08-22 | 2 | -27/+24 | |
| | | ||||||
| * | Show config text only when run with no arguments | Paul Ouellette | 2019-08-17 | 1 | -17/+11 | |
| | | ||||||
| * | writer.make_namespace_file: name has no namespace | Paul Ouellette | 2019-08-17 | 1 | -3/+1 | |
| | | ||||||
| * | Revert variable rename in cmd/make.lua | Paul Ouellette | 2019-08-17 | 1 | -6/+6 | |
| | | ||||||
| * | Simplify deps.get_deps_mode | Paul Ouellette | 2019-08-17 | 1 | -5/+1 | |
| | | ||||||
| * | Allow using - or _ in commands | Paul Ouellette | 2019-08-17 | 4 | -0/+6 | |
| | | ||||||
| * | Update to argparse 0.7.0 | Paul Ouellette | 2019-08-17 | 1 | -50/+115 | |
| | | ||||||
| * | Set option descriptions using argument | Paul Ouellette | 2019-08-17 | 2 | -2/+2 | |
| | | ||||||
| * | Use default -h flag | Paul Ouellette | 2019-08-17 | 26 | -26/+0 | |
| | | ||||||
| * | Hide --project-tree option | Paul Ouellette | 2019-08-17 | 1 | -2/+2 | |
| | | ||||||
| * | Fix epilog not showing with `luarocks help` | Paul Ouellette | 2019-08-02 | 1 | -3/+11 | |
| | | | | | | | | | | | | Argparse will print the help when we call :parse(), so the epilog has to be set at that time. We also want to show an up to date config text when using `luarocks`, so update the epilog then. | |||||
| * | Add some missing descriptions | Paul Ouellette | 2019-08-01 | 4 | -4/+9 | |
| | | ||||||
| * | Remove unused --deps-mode option of test command | Paul Ouellette | 2019-08-01 | 1 | -1/+0 | |
| | | ||||||
| * | Remove duplication between build and make commands | Paul Ouellette | 2019-08-01 | 2 | -45/+29 | |
| | | ||||||
| * | Fix some failing tests | Paul Ouellette | 2019-08-01 | 8 | -24/+45 | |
| | | ||||||
| * | Add completion command | Paul Ouellette | 2019-08-01 | 1 | -1/+33 | |
| | | ||||||
| * | Add argparse | Paul Ouellette | 2019-08-01 | 2 | -1/+2014 | |
| | | ||||||
| * | Rewrap some lines and fix some bugs | Paul Ouellette | 2019-08-01 | 9 | -28/+21 | |
| | | ||||||
| * | args["foo"] --> args.foo, flags --> args | Paul Ouellette | 2019-08-01 | 25 | -178/+178 | |
| | | ||||||
| * | Misc. fixes | Paul Ouellette | 2019-08-01 | 4 | -6/+4 | |
| | | ||||||
| * | Remove duplication between write_rockspec and init | Paul Ouellette | 2019-08-01 | 2 | -36/+26 | |
| | | ||||||
| * | Add help option to subcommands | Paul Ouellette | 2019-08-01 | 26 | -26/+26 | |
| | | ||||||
| * | Remove program_name cmd.run_command argument | Paul Ouellette | 2019-08-01 | 3 | -6/+6 | |
| | | ||||||
| * | Move remaining commands to argparse | Paul Ouellette | 2019-08-01 | 27 | -568/+598 | |
| | | ||||||
| * | Move config command to argparse | Paul Ouellette | 2019-07-30 | 1 | -62/+59 | |
| | | ||||||
| * | Move build command to argparse | Paul Ouellette | 2019-07-29 | 7 | -94/+81 | |
| | | ||||||
| * | Use argparse for command line argument parsing | Paul Ouellette | 2019-07-29 | 7 | -432/+209 | |
| | | | | | | | | Supports main options and init and lint commands | |||||
* | | support RaptorJIT | Francois Perrad | 2019-08-23 | 1 | -1/+1 | |
|/ | | | | | | | | RaptorJIT is a fork of LuaJIT, where jit.version = 'RaptorJIT 1.0.0' this fix avoids a failure in find_lua_incdir() luajitver and prefix .. "/include/luajit-" .. luajitver:match("^(%d+%.%d+)"), --> attempt to concatenate a nil value | |||||
* | cfg: avoid setting LUA_LIBDIR and LUA_INCDIR too early | Hisham Muhammad | 2019-07-26 | 6 | -42/+57 | |
| | ||||||
* | only check for LUA_LIBDIR in platforms that need it | Hisham Muhammad | 2019-07-26 | 2 | -23/+28 | |
| | ||||||
* | detect LuaJIT dynamically | Hisham Muhammad | 2019-07-26 | 10 | -67/+103 | |
| | | | | | | | | This reduces the complexity of the interaction between build-time configuration, run-time auto-detection, and overrides via CLI flags. The LuaJIT version is now always auto-detected at run-time based on the Lua interpreter currently configured, based on the values of configuration options `variables.LUA_BINDIR` and `lua_interpreter`. | |||||
* | fs: fix initialization of platform-specific fallbacks | Hisham Muhammad | 2019-07-25 | 2 | -20/+28 | |
| | ||||||
* | fs: use Unix fork-free versions of is_file/is_dir in Linux and macOS only | Hisham Muhammad | 2019-07-25 | 5 | -43/+125 | |
| | | | | | | | | | | The Unix fork-free version relies on non-standard behaviors. It works on Linux, but it took a while for it to work properly in macOS, and it turns out that you can't really properly detect a directory in FreeBSD using io.open() because it can actually open a directory. To avoid filling in platform-specific tricks in luarocks/fs/unix.lua, which was never the goal, it's better to move the fork-free operations to Linux and macOS specific backends, and keep other Unices using the 'test' command. | |||||
* | Don't use project dir or default_lua_version with --force-config (#1054) | Hisham Muhammad | 2019-07-25 | 2 | -2/+11 | |
| | | | Fixes #1045. | |||||
* | Fix zero values in ziptime (#1056) | Ivan Naidenov | 2019-07-17 | 1 | -1/+6 | |
| | | | | If the rock was packed with luarocks then the time in it is set to zeros and this is not the case with the unix format can be removed when date given is added to zipwriter_open_new_file_in_zip | |||||
* | Add `--dir` option to the `new_version` command (#1014) | dwenegar | 2019-07-17 | 2 | -3/+15 | |
| | ||||||
* | Fix fs.is_dir detection on the Mac, take 2 | Hisham Muhammad | 2019-07-17 | 1 | -1/+4 | |
| | | | | | | | Thanks to @andyli for the report and pointer to the failing CI build. Fixes #104 | |||||
* | path: keep order of existing entries in PATH | Hisham Muhammad | 2019-07-17 | 2 | -7/+18 | |
| | | | | | | | | | | Implements suggestion by @FSMaxB: > Add an additional flag to util.cleanup_path that specifies if the cleanup > happens from the right or from the left. If append is true, clean up from the > left, otherwise clean up from the right. Fixes #763. | |||||
* | which: search in package.path and cpath as well | Hisham Muhammad | 2019-07-12 | 1 | -5/+20 | |
| | | | | Also, add some tests. |