summaryrefslogtreecommitdiff
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
...
* | split function setting test set for clarityalisdair sullivan2015-03-241-7/+10
| |
* | filter checkapps via `rebar_app_info:is_checkout` rather thanalisdair sullivan2015-03-241-4/+2
| | | | | | | | matching directory paths
* | add `--app=...` and `--suite=...` options for the eunit provider toalisdair sullivan2015-03-241-74/+145
| | | | | | | | run subsets of test suites
* | Fix property mergingFred Hebert2015-03-241-30/+38
| | | | | | | | | | | | | | | | | | | | | | Much clearer semantics now. All lists are treated as proplists, meaning we want to: 1) allow duplicates (providers have to avoid them if they must) 2) preserve order of elements that compare equal (`a == {a, val}`) through a stable sort (so if `{a, b}` comes before `a`, we keep `{a, b}` first in the list 3) In two lists of attributes requiring a merge, we always give the 'new' profile a priority to override the default one.
* | Bump to alpha-1Fred Hebert2015-03-231-1/+1
| |
* | Merge pull request #286 from tsloughter/checkoutsFred Hebert2015-03-236-44/+101
|\ \ | | | | | | treat _checkouts as deps that are always compiled
| * | treat _checkouts as deps that are always compiledTristan Sloughter2015-03-216-44/+101
| | |
* | | handle additional errors returned from `getopt:parse/2`alisdair sullivan2015-03-231-1/+5
| | |
* | | Merge pull request #291 from tsloughter/as_argsFred Hebert2015-03-231-0/+2
|\ \ \ | | | | | | | | support args on tasks passed to 'as'
| * | | support args on tasks passed to 'as'Tristan Sloughter2015-03-231-0/+2
| |/ /
* | | Reverse relx args order for configFred Hebert2015-03-221-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/optsFred Hebert2015-03-221-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 templatesTristan Sloughter2015-03-171-1/+1
|/
* include all pkg deps in list of deps returned from updateTristan Sloughter2015-03-171-7/+2
|
* flatten command to open_port so <17 Erlangs are happyTristan Sloughter2015-03-161-3/+3
|
* add back throw on package index writeTristan Sloughter2015-03-161-1/+1
|
* handle bad package version with error messageTristan Sloughter2015-03-161-1/+3
|
* Merge pull request #273 from ypaq/ypaq-doc-fix-versionTristan Sloughter2015-03-161-1/+1
|\ | | | | Decapitalize short option for 'version' flag
| * Decapitalize short option for 'version'Tilman Holschuh2015-03-161-1/+1
| |
* | Merge pull request #269 from ferd/dep-conflict-as-errorTristan Sloughter2015-03-162-10/+25
|\ \ | | | | | | Dep conflict as error
| * | Implement deps conflicts as errorsFred Hebert2015-03-151-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 phaseFred Hebert2015-03-151-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 errorsFred Hebert2015-03-168-10/+18
|/ | | | Also expose it in rebar_api
* Merge pull request #268 from ferd/refactor-as-namespace-conflictsFred Hebert2015-03-133-53/+50
|\ | | | | Fix #267, refactor as/do/namespace interactions
| * Fix #267, refactor as/do/namespace interactionsFred Hebert2015-03-133-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_haltFred Hebert2015-03-121-1/+1
|\ \ | | | | | | halt with 0 on successful run
| * | halt with 0 on successful runTristan Sloughter2015-03-121-1/+1
| | |
* | | Merge pull request #265 from tsloughter/compile_jobsFred Hebert2015-03-122-113/+16
|\ \ \ | |/ / |/| | get rid of compile workers
| * | get rid of compile workersTristan Sloughter2015-03-122-113/+16
| | |
* | | Store base PLT in ~/.cache/rebar3/James Fish2015-03-121-2/+2
|/ /
* | set jobs for all compile jobsTristan Sloughter2015-03-121-9/+12
| |
* | Merge pull request #257 from tsloughter/config_mergeTristan Sloughter2015-03-111-20/+29
|\ \ | | | | | | merge rebar config opts for parent like done for profiles
| * | merge rebar config opts for parent like done for profilesTristan Sloughter2015-03-111-20/+29
| |/
* | Merge pull request #259 from kovyl2404/patch-1Fred Hebert2015-03-101-1/+1
|\ \ | | | | | | Fix typo in error message
| * | Fix typo in error messageViacheslav V. Kovalev2015-03-101-1/+1
| |/
* | fix debug format to avoid crash with custom templateMariano Guerra2015-03-101-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 failTristan Sloughter2015-03-081-3/+3
|
* symlink extra test dirs and compile from there instead of fromalisdair sullivan2015-03-083-20/+36
| | | | root project
* compile source from the symlinked directories under `_build` toalisdair sullivan2015-03-084-12/+16
| | | | get correct compile paths included in module info
* don't traverse into subdirectories looking for beamsTristan Sloughter2015-03-071-2/+1
|
* Merge pull request #241 from tsloughter/erlydtlFred Hebert2015-03-073-89/+57
|\ | | | | update erlydtl compiler to output to _build, add simple test
| * update erlydtl compiler to output to _build, add simple testTristan Sloughter2015-03-073-89/+57
| |
* | Bump to alphaFred Hebert2015-03-081-1/+1
|/
* Fix namespace regressionsFred Hebert2015-03-071-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 rebar3Tristan Sloughter2015-03-0716-18/+18
|
* parse `rebar3 as foo, bar task` correctlyalisdair sullivan2015-03-061-8/+12
| | | | fixes #238
* Merge pull request #237 from tsloughter/proper_code_pathFred Hebert2015-03-063-38/+3
|\ | | | | fix code path update for deps
| * fix code path update for depsTristan Sloughter2015-03-063-38/+3
| |
* | Add escriptize provider and a minimal testPierre Fenoll2015-03-062-11/+233
|/
* add comment about resetting optsTristan Sloughter2015-03-061-0/+2
|