summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* fix clean all to use proper deps dirTristan Sloughter2015-04-021-1/+1
|
* add exports used by plugins to rebar_apiTristan Sloughter2015-04-021-1/+19
|
* re-export functions only used within rebar_utils that are also needed by pluginsTristan Sloughter2015-04-021-1/+4
|
* Merge pull request #303 from ingwinlu/fix_readme_building_rebarTristan Sloughter2015-04-011-1/+1
|\ | | | | fix congratulation message in README.md
| * fix congratulation message in README.mdderwinlu2015-04-011-1/+1
|/
* Merge pull request #283 from fishcakez/dial_warnsFred Hebert2015-03-257-8/+7
|\ | | | | Fix some dialyzer warnings
| * Fix dialyzer warningsJames Fish2015-03-187-8/+7
| |
* | Merge pull request #297 from ferd/better-template-UITristan Sloughter2015-03-251-3/+12
|\ \ | | | | | | Polish rough edges of 'new' provider
| * | Polish rough edges of 'new' providerFred Hebert2015-03-251-3/+12
|/ / | | | | | | | | | | | | - Allow 'rebar3 help' to work and have it point to 'rebar3 help <template>' - show a 'template not found' message when a template is indeed not found rather than crashing.
* | Bump to alpha-2Fred Hebert2015-03-242-2/+2
| |
* | Merge pull request #296 from talentdeficit/eunit_test_suiteFred Hebert2015-03-244-90/+541
|\ \ | | | | | | eunit refactor and test suite
| * | split function setting test set for clarityalisdair sullivan2015-03-241-7/+10
| | |
| * | filter checkapps via `rebar_app_info:is_checkout` rather thanalisdair sullivan2015-03-242-6/+24
| | | | | | | | | | | | matching directory paths
| * | add `--app=...` and `--suite=...` options for the eunit provider toalisdair sullivan2015-03-242-76/+341
| | | | | | | | | | | | run subsets of test suites
| * | add a more direct way to generate an `eunitized` test app toalisdair sullivan2015-03-243-16/+181
|/ / | | | | | | test utils and add better eunit tests
* | Merge pull request #295 from ferd/remerge-refixFred Hebert2015-03-242-32/+52
|\ \ | | | | | | Fix property merging
| * | 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.
| * | Merge branch 'eunit-with-test-profile-test-case' of ↵Fred Hebert2015-03-231-2/+14
| |\ \ |/ / / | | | | | | https://github.com/kellymclaughlin/rebar3 into kellymclaughlin-eunit-with-test-profile-test-case
| * | Add test case to eunit test suiteKelly McLaughlin2015-03-231-2/+14
| | | | | | | | | | | | Add test case to exercise the eunit provider using the test profile
* | | Bump to alpha-1Fred Hebert2015-03-232-2/+2
| | |
* | | Merge pull request #286 from tsloughter/checkoutsFred Hebert2015-03-2310-53/+232
|\ \ \ | |/ / |/| | treat _checkouts as deps that are always compiled
| * | treat _checkouts as deps that are always compiledTristan Sloughter2015-03-2110-53/+232
| | |
* | | Merge pull request #292 from talentdeficit/get_opt_fixFred Hebert2015-03-232-1/+59
|\ \ \ | | | | | | | | handle additional errors returned from `getopt:parse/2`
| * | | handle additional errors returned from `getopt:parse/2`alisdair sullivan2015-03-232-1/+59
|/ / /
* | | Merge pull request #291 from tsloughter/as_argsFred Hebert2015-03-232-2/+22
|\ \ \ | | | | | | | | support args on tasks passed to 'as'
| * | | support args on tasks passed to 'as'Tristan Sloughter2015-03-232-2/+22
| |/ /
* | | Merge pull request #290 from ferd/fancy-profile-merge-funFred Hebert2015-03-235-8/+120
|\ \ \ | | | | | | | | Fancy profile merge fun
| * \ \ Merge branch 'kellymclaughlin-dev-mode-release-tests' into ↵Fred Hebert2015-03-232-4/+53
| |\ \ \ | | | | | | | | | | | | | | | fancy-profile-merge-fun
| | * | | Test cases to exercise the dev_mode release optionKelly McLaughlin2015-03-232-4/+53
| |/ / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add one test case to verify the dev_mode option for a release and another to verify overriding the dev_mode option in a profile for a release. Verification of proper dev_mode functioning is done in the rebar_test_utils:check_results/2 function by checking if all the directories in the release lib dir are symlinks or not and comparing that result to the dev_mode expectation passed as input to the check_results function.
| * | | 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-222-3/+66
|/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* | | Merge pull request #284 from tsloughter/masterFred Hebert2015-03-172-3/+25
|\ \ \ | |/ / | | / | |/ |/| update hg username and email match in templates
| * update hg username and email match in templatesTristan Sloughter2015-03-172-3/+25
| |
* | Merge pull request #280 from tsloughter/pkgdepsFred Hebert2015-03-171-7/+2
|\ \ | |/ | | include all pkg deps in list of deps returned from update
| * include all pkg deps in list of deps returned from updateTristan Sloughter2015-03-171-7/+2
| |
* | Merge pull request #276 from tsloughter/flatten_commandFred Hebert2015-03-161-3/+3
|\ \ | |/ | | flatten command to open_port so <17 Erlangs are happy
| * flatten command to open_port so <17 Erlangs are happyTristan Sloughter2015-03-161-3/+3
| |
* | Merge pull request #275 from tsloughter/pkg_vsn_errorFred Hebert2015-03-162-2/+4
|\ \ | |/ | | handle bad package version with error message
| * 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-164-23/+77
|\ \ | | | | | | Dep conflict as error
| * | Implement deps conflicts as errorsFred Hebert2015-03-153-22/+69
| | | | | | | | | | | | | | | | | | | | | | | | 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.
* | Merge pull request #270 from ferd/cleanup-errorsTristan Sloughter2015-03-168-10/+18
|\ \ | |/ |/| use PRV_ERROR for formattable errors
| * 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