summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Local corrections on string processing:Pierre Fenoll2014-06-131-2/+1
| | | | | * Corrected regexp: `[x|y]` -> `[xy]`. * Used an re:replace/4 option instead of multiple IOlist functions.
* Merge pull request #292 from matwey/namespaced_typesTristan Sloughter2014-06-115-8/+45
|\ | | | | Namespaced types: fix build for 17.0
| * Add erlang 17.0 to travisMatwey V. Kornilov2014-06-081-0/+1
| |
| * Add namespaced_types to bootstrap script.Matwey V. Kornilov2014-06-081-0/+16
| |
| * Fix build for 17.0 using the solutiong proposed by @tsloughterMatwey V. Kornilov2014-06-083-8/+28
| | | | | | | | We use namespaced_types option to choose between dict() and dict:dict() types.
* | Merge pull request #290 from tuncer/erlc-case-ofTristan Sloughter2014-05-301-4/+4
|\ \ | |/ | | erlc: replace if expression with case of
| * erlc: replace if expression with case ofTuncer Ayaz2014-05-301-4/+4
|/ | | | Motivated by the bug fix in 2c4d7d1.
* 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
| |