Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | | | handle additional errors returned from `getopt:parse/2` | alisdair sullivan | 2015-03-23 | 1 | -1/+5 | |
| | | | ||||||
* | | | Merge pull request #291 from tsloughter/as_args | Fred Hebert | 2015-03-23 | 1 | -0/+2 | |
|\ \ \ | | | | | | | | | support args on tasks passed to 'as' | |||||
| * | | | support args on tasks passed to 'as' | Tristan Sloughter | 2015-03-23 | 1 | -0/+2 | |
| |/ / | ||||||
* | | | Reverse relx args order for config | Fred Hebert | 2015-03-22 | 1 | -1/+1 | |
| | | | | | | | | | | | | | | | | | | With the new priority order, and knowing Relx processes things in reverse already (possibly building a dict internally), we should flip our options around to keep them correct. | |||||
* | | | Preserve profile order on mergeable tuple/opts | Fred Hebert | 2015-03-22 | 1 | -1/+57 | |
|/ / | | | | | | | | | | | | | | | | | | | | | Rather than using the stdlib lists:umerge, we expand it to allow fuzzy matching on tuples vs. vals (`key` vs. `{key,val}`) with an overriden sort order so that two tuples or values comparing equal get a priority on the newest profile. This is a partial fix for #287 -- this current patch should be followed by a relx update to take options in order (as if they were a proplist) to complete it. | |||||
* | | update hg username and email match in templates | Tristan Sloughter | 2015-03-17 | 1 | -1/+1 | |
|/ | ||||||
* | include all pkg deps in list of deps returned from update | Tristan Sloughter | 2015-03-17 | 1 | -7/+2 | |
| | ||||||
* | flatten command to open_port so <17 Erlangs are happy | Tristan Sloughter | 2015-03-16 | 1 | -3/+3 | |
| | ||||||
* | add back throw on package index write | Tristan Sloughter | 2015-03-16 | 1 | -1/+1 | |
| | ||||||
* | handle bad package version with error message | Tristan Sloughter | 2015-03-16 | 1 | -1/+3 | |
| | ||||||
* | Merge pull request #273 from ypaq/ypaq-doc-fix-version | Tristan Sloughter | 2015-03-16 | 1 | -1/+1 | |
|\ | | | | | Decapitalize short option for 'version' flag | |||||
| * | Decapitalize short option for 'version' | Tilman Holschuh | 2015-03-16 | 1 | -1/+1 | |
| | | ||||||
* | | Merge pull request #269 from ferd/dep-conflict-as-error | Tristan Sloughter | 2015-03-16 | 2 | -10/+25 | |
|\ \ | | | | | | | Dep conflict as error | |||||
| * | | Implement deps conflicts as errors | Fred Hebert | 2015-03-15 | 1 | -9/+17 | |
| | | | | | | | | | | | | | | | | | | | | | | | | The option {deps_error_on_conflict, true} will make it so conflicts in deps being fetched interrupts the operation rather than just display a warning. Defaults to `false'. | |||||
| * | | Avoid duplicating deps in discover phase | Fred Hebert | 2015-03-15 | 1 | -1/+8 | |
| |/ | | | | | | | | | | | | | | | | | The deps are sorted and merged, but the merge function merges lists, not elements. This yields deps that are duplicated and ran for multiple times. We first add proper sorts so the keymerge is guaranteed to be fine, and then do a dedup run to get rid of duplicates if they happen to be. | |||||
* | | use PRV_ERROR for formattable errors | Fred Hebert | 2015-03-16 | 8 | -10/+18 | |
|/ | | | | Also expose it in rebar_api | |||||
* | Merge pull request #268 from ferd/refactor-as-namespace-conflicts | Fred Hebert | 2015-03-13 | 3 | -53/+50 | |
|\ | | | | | Fix #267, refactor as/do/namespace interactions | |||||
| * | Fix #267, refactor as/do/namespace interactions | Fred Hebert | 2015-03-13 | 3 | -53/+50 | |
| | | | | | | | | | | | | | | | | | | | | 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. | |||||
* | | Merge pull request #266 from tsloughter/always_halt | Fred Hebert | 2015-03-12 | 1 | -1/+1 | |
|\ \ | | | | | | | halt with 0 on successful run | |||||
| * | | halt with 0 on successful run | Tristan Sloughter | 2015-03-12 | 1 | -1/+1 | |
| | | | ||||||
* | | | Merge pull request #265 from tsloughter/compile_jobs | Fred Hebert | 2015-03-12 | 2 | -113/+16 | |
|\ \ \ | |/ / |/| | | get rid of compile workers | |||||
| * | | get rid of compile workers | Tristan Sloughter | 2015-03-12 | 2 | -113/+16 | |
| | | | ||||||
* | | | Store base PLT in ~/.cache/rebar3/ | James Fish | 2015-03-12 | 1 | -2/+2 | |
|/ / | ||||||
* | | set jobs for all compile jobs | Tristan Sloughter | 2015-03-12 | 1 | -9/+12 | |
| | | ||||||
* | | Merge pull request #257 from tsloughter/config_merge | Tristan Sloughter | 2015-03-11 | 1 | -20/+29 | |
|\ \ | | | | | | | merge rebar config opts for parent like done for profiles | |||||
| * | | merge rebar config opts for parent like done for profiles | Tristan Sloughter | 2015-03-11 | 1 | -20/+29 | |
| |/ | ||||||
* | | Merge pull request #259 from kovyl2404/patch-1 | Fred Hebert | 2015-03-10 | 1 | -1/+1 | |
|\ \ | | | | | | | Fix typo in error message | |||||
| * | | Fix typo in error message | Viacheslav V. Kovalev | 2015-03-10 | 1 | -1/+1 | |
| |/ | ||||||
* | | fix debug format to avoid crash with custom template | Mariano Guerra | 2015-03-10 | 1 | -1/+1 | |
|/ | | | | | | | | | | | | | | | | | | | | | | | | | | error before: ===> Uncaught error: {'EXIT', {badarg, [{io,format, [<0.23.0>, "\e[0;36m===> Skipping template ~p, due to presence of a custom template at ~s~n~n\e[0m", ["/home/mariano/.config/rebar3/templates/fn_app/fn_app.template"]], []}, {rebar_templater,prioritize_templates,2, [{file,"src/rebar_templater.erl"},{line,330}]}, {rebar_templater,find_templates,1, [{file,"src/rebar_templater.erl"},{line,274}]}, {rebar_templater,new,4, [{file,"src/rebar_templater.erl"},{line,47}]}, {rebar_prv_new,do,1, [{file,"src/rebar_prv_new.erl"},{line,44}]}, {rebar_core,do,2, [{file,"src/rebar_core.erl"},{line,129}]}, {rebar3,main,1, [{file,"src/rebar3.erl"},{line,46}]}, {escript,run,2, [{file,"escript.erl"},{line,752}]}]}} | |||||
* | templater: return error, don't throw, if git or hg fail | Tristan Sloughter | 2015-03-08 | 1 | -3/+3 | |
| | ||||||
* | symlink extra test dirs and compile from there instead of from | alisdair sullivan | 2015-03-08 | 3 | -20/+36 | |
| | | | | root project | |||||
* | compile source from the symlinked directories under `_build` to | alisdair sullivan | 2015-03-08 | 4 | -12/+16 | |
| | | | | get correct compile paths included in module info | |||||
* | don't traverse into subdirectories looking for beams | Tristan Sloughter | 2015-03-07 | 1 | -2/+1 | |
| | ||||||
* | Merge pull request #241 from tsloughter/erlydtl | Fred Hebert | 2015-03-07 | 3 | -89/+57 | |
|\ | | | | | update erlydtl compiler to output to _build, add simple test | |||||
| * | update erlydtl compiler to output to _build, add simple test | Tristan Sloughter | 2015-03-07 | 3 | -89/+57 | |
| | | ||||||
* | | Bump to alpha | Fred Hebert | 2015-03-08 | 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. | |||||
* | update all examples in providers to use rebar3 | Tristan Sloughter | 2015-03-07 | 16 | -18/+18 | |
| | ||||||
* | parse `rebar3 as foo, bar task` correctly | alisdair sullivan | 2015-03-06 | 1 | -8/+12 | |
| | | | | fixes #238 | |||||
* | Merge pull request #237 from tsloughter/proper_code_path | Fred Hebert | 2015-03-06 | 3 | -38/+3 | |
|\ | | | | | fix code path update for deps | |||||
| * | fix code path update for deps | Tristan Sloughter | 2015-03-06 | 3 | -38/+3 | |
| | | ||||||
* | | Add escriptize provider and a minimal test | Pierre Fenoll | 2015-03-06 | 2 | -11/+233 | |
|/ | ||||||
* | add comment about resetting opts | Tristan Sloughter | 2015-03-06 | 1 | -0/+2 | |
| | ||||||
* | store base opts after initialization of providers | Tristan Sloughter | 2015-03-06 | 3 | -7/+10 | |
| | ||||||
* | apply profiles and overrides for an app's opts to the base opts | Tristan Sloughter | 2015-03-05 | 3 | -8/+11 | |
| | ||||||
* | Fix handling of ct results | James Fish | 2015-03-05 | 1 | -23/+51 | |
| | | | | | | * Return error on failed and/or auto skipped tests * Print all results for quiet repeated tests * Sum results of repeated tests | |||||
* | Merge pull request #227 from fishcakez/dialyzer_plt | Tristan Sloughter | 2015-03-05 | 1 | -20/+3 | |
|\ | | | | | Change PLT name and directory | |||||
| * | Shorten default PLT name | James Fish | 2015-03-05 | 1 | -1/+1 | |
| | | ||||||
| * | Fix dialyzer active otp release detection | James Fish | 2015-03-05 | 1 | -18/+1 | |
| | | ||||||
| * | Change default project PLT location to base directory | James Fish | 2015-03-05 | 1 | -2/+2 | |
| | | | | | | | | | | | | Previously dialyzer stored the project PLT in ./build/, which meant the same PLT was used for all profiles. This could mean partial rebuilding of a PLT when switching between profiles. |