summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Merge pull request #289 from tuncer/semicolon-vs-commaFred Hebert2014-05-301-1/+1
|\ | | | | erlc: fix typo in update_erlcinfo/3 clause
| * erlc: fix typo in update_erlcinfo/3 clauseTuncer Ayaz2014-05-301-1/+1
|/
* adding Alexander Verbitsky to THANKS fileFred Hebert2014-05-291-0/+1
|
* Merge pull request #284 from habibutsu/masterFred Hebert2014-05-291-1/+1
|\ | | | | Error 'Command not found' when sname is used
| * Error 'Command not found' when sname is usedHabibutsu2014-05-271-1/+1
| | | | | | | | When a node is configured with -sname the REMSH_NAME_PART argument should be defined with using command 'hostname' but error occurs due extra space
* | Merge pull request #280 from talentdeficit/bettershellFred Hebert2014-05-273-21/+38
|\ \ | |/ |/| improve output when using `rebar shell`
| * improve behaviour of `rebar shell`alisdair sullivan2014-05-263-21/+38
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | attempt to emulate the behavior of `erl -pa ebin -pa deps/*/ebin` fix error messages and formatting issues of `rebar shell` by shutting down and restarting the user subsystem in a mode more hospitable to the shell than the simple user started when run as an escript. emulate `error_logger` behaviour when the shell is run via `erl` add documentation of the shell command limitations: the erlang interrupt handler is not enabled when running as an escript and there is no interface to re-enable it via erlang code. this means `ctrl-c` will immediately exit the running process unlike when running the shell via `erl`. `ctrl-g` is, however, unaffected the user subsystem is killed and restarted but not supervised. if your code somehow relies on the user subsystem crashing and restarting `rebar shell` may interfere with it's operation
* | Merge pull request #52 from shino/slim-release-supportJared Morrow2014-05-215-17/+80
|\ \ | | | | | | Slim release support
| * | Add TODO comment to install_upgrade script templateShunichi Shinohara2014-03-091-0/+8
| | |
| * | Change nodetool path to under releases/<RELEASE_VERSION>/Shunichi Shinohara2014-03-092-7/+8
| | |
| * | Add slim marker file as automatic overlayShunichi Shinohara2014-03-092-8/+33
| | |
| * | Add slim release support for runner scriptShunichi Shinohara2014-03-091-8/+37
| | |
* | | Update release notes for 2.3.1Jared Morrow2014-05-211-58/+56
| | |
* | | Bump rebar version to 2.3.1Jared Morrow2014-05-211-1/+1
| |/ |/|
* | Merge pull request #251 from mururu/eunit_compile_optsJared Morrow2014-05-196-9/+76
|\ \ | | | | | | Make sure that eunit/qc_compile_opts works
| * | Make sure that eunit/qc_compile_opts works fix #245Yuki Ito2014-05-136-9/+76
| | |
* | | Merge pull request #244 from tuncer/missing-helpJared Morrow2014-05-191-1/+10
|\ \ \ | | | | | | | | Document skip_apps=, apps=, and require_*_vsn
| * | | Document require_*_vsn optionsTuncer Ayaz2014-03-121-0/+6
| | | |
| * | | Document skip_apps= and apps=Tuncer Ayaz2014-03-121-1/+4
| | | |
* | | | Merge pull request #255 from tuncer/superfluous-quotingJared Morrow2014-05-191-1/+1
|\ \ \ \ | | | | | | | | | | rebar.app: remove superfluous quoting
| * | | | rebar.app: remove superfluous quotingTuncer Ayaz2014-03-301-1/+1
| |/ / /
* | | | Merge pull request #274 from redpine50/broken_on_winJared Morrow2014-05-191-1/+2
|\ \ \ \ | | | | | | | | | | Use lowercase for Windows drive name to resolve issue #250
| * | | | Do not wrap base_dir with filename:absname() redpine502014-05-101-2/+2
| | | | | | | | | | | | | | | base_dir() returns already filename:absname()'ed path.
| * | | | Update rebar_utils.erlredpine502014-05-081-1/+2
| | |/ / | |/| | | | | | | | | | | | | | | | | | | | | | On windows, bootstrap.bat failed with next error. Command 'escriptize' not understood or not applicable This happens because the drive name in path got from rebar_utils:get_cwd() and base_dir(Config) are different case. Made the drive name the same lowercase using filename:absname().
* | | | Merge pull request #242 from tuncer/erlc-speedup-v5-fixupJared Morrow2014-05-1915-1/+283
|\ \ \ \ | | | | | | | | | | Extra commits for #129
| * | | | erlc: add test suiteTuncer Ayaz2014-03-1214-0/+282
| | | | |
| * | | | erlc: fixup log messageTuncer Ayaz2014-03-121-1/+1
| | |/ / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Using the filename as a prefix is less readable and inconsistent with the other log messages. Before: DEBUG: src/foo.erl depends on... After: DEBUG: Dependencies of src/foo.erl ...
* | | | Roll rebar version 2.3.0Jared Morrow2014-05-132-1/+34
| |/ / |/| |
* | | Merge pull request #252 from tuncer/file_utils-errorsJared Morrow2014-04-243-7/+8
|\ \ \ | | | | | | | | file_utils: properly report errors (fix #95)
| * | | file_utils: properly report errors (fix #95)Tuncer Ayaz2014-04-113-7/+8
| | | | | | | | | | | | | | | | While at it, improve the error message printed by rebar_utils:sh/2.
* | | | Merge pull request #269 from goofansu/patch-1Jared Morrow2014-04-241-0/+1
|\ \ \ \ | | | | | | | | | | Update THANKS
| * | | | Update THANKSgoofansu2014-04-181-0/+1
| | | | | | | | | | | | | | | Add my name to THANKS
* | | | | Merge pull request #268 from tuncer/code-path-regressionJared Morrow2014-04-2416-90/+210
|\ \ \ \ \ | |/ / / / |/| | | | Fix #267 (code path regression)
| * | | | Fix #267 (code path regression)Tuncer Ayaz2014-04-2316-52/+176
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Since the introduction of -r/--recursive, deps were not properly added to the code path when running ct, eunit, etc. To fix that, pass a flag down to process_dir1 and conditionalize execution of the command. This moves the decision into process_dir1 where we can decide to invoke preprocess/2 and postprocess/2 but not execute the command. Without this fix, you'd have to, for example, invoke 'rebar -r ct skip_deps=true', if you wanted to run base_dir's ct suites with deps on the code path (while skipping all non-base_dir ct suites). So, with this patch applied, if you run $ rebar ct deps will be on the code path, and only base_dir's ct suites will be tested. If you want to test ct suites in base_dir and sub_dirs, you have to run $ rebar -r ct skip_deps=true If you want to test ct suites in all dirs, you have to run $ rebar -r ct The fix is not specific to ct and applies to all commands. To be able to add inttest/code_path_no_recurse/deps, I had to fix .gitignore. While at it, I've updated and fixed all entries.
| * | | | rebar_core: consistently order args and simplify codeTuncer Ayaz2014-04-201-59/+55
|/ / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Fix arg order: The order of arguments got inconsistent over time. To fix that, use the same consistent order in all functions. * Avoid one erlang:'++'/2 call in process_dir/6. * Avoid lists:prefix/2 and atom_to_list/1 calls: We can easily avoid 2 lists:prefix/2 calls and one atom_to_list/1 call in execute/5 by passing in whether the command is a hook or not. The resulting code is simpler and easier to read.
* | | | Merge pull request #265 from goofansu/fix-qc-help-cleanJared Morrow2014-04-161-1/+4
|\ \ \ \ | | | | | | | | | | Fix 'rebar help clean' function_clause error
| * | | | Fix 'rebar help clean' function_clause errorgoofansu2014-04-121-1/+4
|/ / / / | | | | | | | | | | | | Missing info(help, clean) in rebar_qc.erl.
* | | | Merge pull request #254 from tuncer/fix-generateJared Morrow2014-04-111-1/+21
|\ \ \ \ | |/ / / |/| | | Fix 'rebar generate' regression (#253)
| * | | Fix 'rebar generate' regression (#253)Tuncer Ayaz2014-03-301-1/+21
| |/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | If the directory we're about to process contains reltool.config[.script] and the command to be applied is 'generate', then it's safe to process. We do this to retain the behavior of specifying {sub_dirs, ["rel"]} and have "rebar generate" pick up rel/reltool.config[.script]. Without this workaround you'd have to run "rebar -r generate" (which you don't want to do if you have deps or other sub_dirs) or "cd rel && rebar generate".
* | | Merge pull request #237 from norton/norton-17Andrew Thompson2014-04-092-2/+26
|\ \ \ | |/ / |/| | Add partial support for Erlang/OTP 17
| * | Add partial support for Erlang/OTP 17Joseph Wayne Norton2014-03-292-2/+26
|/ / | | | | | | | | | | | | Allow rebar to compile applications using Erlang/OTP 17 and older versions. This patch only provides partial support since the rebar tool itself must be compiled using an Erlang/OTP version that is older than 17.
* | Merge branch 'tuncer-auto-recursion'Jared Morrow2014-03-1112-20/+134
|\ \ | |/ |/|
| * Keep compile recursive and update the tests to not pass -r to compileJared Morrow2014-03-115-5/+6
| |
| * Fix #226Tuncer Ayaz2014-03-111-1/+2
| | | | | | | | | | | | Running 'rebar list-templates' can take quite a long time, when it has to search the file system. To fix that, make list-templates not recurse by default. To enable recursion, run 'rebar -r list-templates'.
| * Fix #56 (always-on recursion)Tuncer Ayaz2014-03-1112-20/+132
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Always-on recursive application of all rebar commands causes too many issues. Recursive application is required for: 1. dealing with dependencies: get-deps, update-deps, and compile of deps right after get-deps or update-deps 2. projects with a riak-like apps/ project structure and dev process The vast majority of projects are not structured like riak. Therefore, moving forward it's best to (by default) restrict recursive behavior to dealing with deps. This commit does that and also adds command line and rebar.config options for controlling or configuring recursion. Also, we introduce two meta commands: prepare-deps (equivalent to rebar -r get-deps compile) and refresh-deps (equivalent to rebar -r update-deps compile). riak-like projects can extend the list of recursive commands (to include 'eunit' and 'compile') by adding {recursive_cmds, [eunit, compile]} to rebar.config.
* | Merge pull request #208 from goofansu/fix-typo-rebar-erlydtl-compilerJared Morrow2014-03-051-1/+1
|\ \ | |/ | | Fix typo in rebar_erlydtl_compiler
| * Fix typo in rebar_erlydtl_compilergoofansu2014-03-061-1/+1
|/
* Merge pull request #139 from rnewson/depmodsJared Morrow2014-03-051-17/+26
|\ | | | | Allow specification of module dependencies for appups
| * Allow specification of module dependencies for appupsRobert Newson2013-09-201-17/+26
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The order in which modules, within an application, are loaded can be important. This patch adds allows the specification of module dependencies such that generate .appup/.relup scripts will load a module's dependent modules before itself. To use: in rebar.config, add a module_deps {module_deps, [{ModuleName, [DependentModuleName, ...]}]}. ModuleName is the name of any module, followed by a list of module names that it depends on.
* | Merge pull request #115 from mdaguete/simplenode.runner-remsh-fixesAndrew Thompson2014-03-051-3/+29
|\ \ | | | | | | Incorrect REMSH args when sname is used.