Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | add DEBUG statement of the command sequence that'll be run | Tristan Sloughter | 2015-09-19 | 1 | -0/+1 |
| | |||||
* | fix dialyzer warnings, except 'no local return' warnings | Tristan Sloughter | 2015-08-08 | 1 | -2/+2 |
| | |||||
* | Fix reporting of error:undef exceptions | Fred Hebert | 2015-07-09 | 1 | -3/+9 |
| | | | | | | | | | The wide-cast catching of undef errors would make it so any provider calling an undefined function would be reported as a missing 'do' for the provider. This patch inspects the stacktrace to know if `Provider:do/1` is indeed the missing callback, and reports the rest properly. | ||||
* | Add error message for bad provider hook, fixes #521 | Tristan Sloughter | 2015-06-19 | 1 | -1/+3 |
| | |||||
* | print nice error message if do is undef for provider | Tristan Sloughter | 2015-06-16 | 1 | -2/+13 |
| | |||||
* | store plugin providers in app_info's state for deps | Tristan Sloughter | 2015-05-28 | 1 | -0/+1 |
| | |||||
* | install dep plugins & run provider hooks the same as shell hooks | Tristan Sloughter | 2015-04-04 | 1 | -1/+1 |
| | |||||
* | handle additional errors returned from `getopt:parse/2` | alisdair sullivan | 2015-03-23 | 1 | -1/+5 |
| | |||||
* | support args on tasks passed to 'as' | Tristan Sloughter | 2015-03-23 | 1 | -0/+2 |
| | |||||
* | Fix #267, refactor as/do/namespace interactions | Fred Hebert | 2015-03-13 | 1 | -51/+38 |
| | | | | | | | | | | Breaking up initial call to parse from the ones deep inside the provider parsing to do smarter namespace detection, added 'as' the ability to look into these also, and cleaned up the code a whole lot that would depend on implicit assumptions. A side-effect is that 'do' is now valid for all namespaces, although it can be overriden. | ||||
* | update erlydtl compiler to output to _build, add simple test | Tristan Sloughter | 2015-03-07 | 1 | -1/+1 |
| | |||||
* | Fix namespace regressions | Fred Hebert | 2015-03-07 | 1 | -4/+34 |
| | | | | | | | This adds some more convolution to command parsing, unfortunately, but makes some cases clearer (`rebar3 as as as as` is no longer valid). It unfortunately disallows using $REBAR_PROFILE along with `as` in a rebar command. | ||||
* | fix code path update for deps | Tristan Sloughter | 2015-03-06 | 1 | -37/+1 |
| | |||||
* | apply profiles and overrides for an app's opts to the base opts | Tristan Sloughter | 2015-03-05 | 1 | -4/+5 |
| | |||||
* | fix for profiles_remain_applied_with_config_present | Tristan Sloughter | 2015-03-04 | 1 | -5/+3 |
| | |||||
* | support for provider_hooks in config | Tristan Sloughter | 2015-01-31 | 1 | -11/+12 |
| | |||||
* | replace single profile atom in providers with list of profiles | Tristan Sloughter | 2015-01-11 | 1 | -2/+2 |
| | |||||
* | Tests and fixes for namespaces | Fred Hebert | 2014-12-21 | 1 | -2/+7 |
| | |||||
* | Dynamic 'do' provider for namespaces | Fred Hebert | 2014-12-21 | 1 | -13/+31 |
| | | | | | | | | | | | Using a namespace such as 'rebar3 lfe new' will look for the 'new' command in 'lfe' namespace without the need for a 'do' provider to be registered in that namespace. Manually checked that 'rebar3 as <profile> <namespace> command' works, as well with 'default' and 'do'. Test suite still needed. | ||||
* | Add support for namespace-based metacommands | Fred Hebert | 2014-12-21 | 1 | -3/+12 |
| | | | | And more general namespace support | ||||
* | don't include all */ebin dirs in code path | Tristan Sloughter | 2014-12-16 | 1 | -1/+8 |
| | |||||
* | add 'as' higher order task | Tristan Sloughter | 2014-12-16 | 1 | -5/+7 |
| | |||||
* | rewrite profiles | Tristan Sloughter | 2014-12-16 | 1 | -11/+9 |
| | |||||
* | move dir functions from utils to new module rebar_dir | Tristan Sloughter | 2014-12-01 | 1 | -4/+4 |
| | |||||
* | fixes for dialyzer findings | Tristan Sloughter | 2014-11-30 | 1 | -1/+1 |
| | |||||
* | add use of REBAR_PROFILE os var to set default profile | Tristan Sloughter | 2014-11-30 | 1 | -4/+3 |
| | |||||
* | wip: profiles | Tristan Sloughter | 2014-11-29 | 1 | -13/+16 |
| | |||||
* | prepend base_dir when expanding code path | Tristan Sloughter | 2014-11-08 | 1 | -2/+3 |
| | |||||
* | return error on not found provider for command | Tristan Sloughter | 2014-10-22 | 1 | -12/+16 |
| | |||||
* | formatting | Tristan Sloughter | 2014-10-11 | 1 | -2/+1 |
| | |||||
* | support compile jobs option | Tristan Sloughter | 2014-10-10 | 1 | -6/+11 |
| | |||||
* | split options up by task | Tristan Sloughter | 2014-10-10 | 1 | -2/+11 |
| | |||||
* | move providers to separate app | Tristan Sloughter | 2014-10-03 | 1 | -4/+4 |
| | |||||
* | return error messages from providers | Tristan Sloughter | 2014-09-27 | 1 | -6/+14 |
| | |||||
* | slowly widdling away at dialyzer errors | Tristan Sloughter | 2014-09-20 | 1 | -2/+0 |
| | |||||
* | install plugins to plugins/ | Tristan Sloughter | 2014-09-20 | 1 | -8/+12 |
| | |||||
* | add plugin template | Tristan Sloughter | 2014-09-20 | 1 | -1/+2 |
| | |||||
* | add do task | Tristan Sloughter | 2014-09-18 | 1 | -4/+4 |
| | |||||
* | improved dep handling and add package list task | Tristan Sloughter | 2014-08-24 | 1 | -1/+1 |
| | |||||
* | simplify dep download and building | Tristan Sloughter | 2014-08-23 | 1 | -1/+1 |
| | |||||
* | refactoring and remove unused providers for now | Tristan Sloughter | 2014-08-23 | 1 | -1/+2 |
| | |||||
* | only build unbuilt deps | Tristan Sloughter | 2014-08-18 | 1 | -4/+4 |
| | |||||
* | start of moving to splitting state from config parsing | Tristan Sloughter | 2014-08-17 | 1 | -41/+12 |
| | |||||
* | add rebar update provider | Tristan Sloughter | 2014-08-16 | 1 | -2/+2 |
| | |||||
* | move back to single command with arguments for comamnd after it | Tristan Sloughter | 2014-08-16 | 1 | -3/+3 |
| | |||||
* | large refactoring | Tristan Sloughter | 2014-08-16 | 1 | -594/+35 |
| | | | | | | | | Removed separate compilers Resolves apps to build Finds avail deps before pulling/building Includes relx Simplifies build commands | ||||
* | Fix OS X resource fork handling (Reported-by: Richard O'Keefe) | Tuncer Ayaz | 2014-07-25 | 1 | -2/+1 |
| | | | | | | | | | If you happen to fetch a zip archive of the git repo and try to build from that, you may, for example, ask erlc to build src/._rebar.erl. ._* are OS X resource forks and not real .erl files. This may also happen with network filesystems on OS X. To fix that, limit the files compiled by rebar to include only those which start with a letter or a digit. | ||||
* | Add REBAR to environment before executing hooks | Tino Breddin | 2014-06-02 | 1 | -1/+2 |
| | | | | | | | | REBAR will be set to the rebar binary which was executed and runs the builds. Enables the use of the same binary for rebar invocations as part of a pre or post hook like so: ${REBAR} escriptize | ||||
* | Fix #267 (code path regression) | Tuncer Ayaz | 2014-04-23 | 1 | -43/+53 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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 code | Tuncer Ayaz | 2014-04-20 | 1 | -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. |