summaryrefslogtreecommitdiff
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
...
* Dynamic 'do' provider for namespacesFred Hebert2014-12-212-13/+39
| | | | | | | | | | | 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 metacommandsFred Hebert2014-12-211-3/+12
| | | | And more general namespace support
* Remove profile declarationsFred Hebert2014-12-212-2/+2
| | | | No longer needed.
* Merge pull request #65 from fishcakez/plt_copy_libTristan Sloughter2014-12-171-0/+1
|\ | | | | Ensure dir for plt exists when copying.
| * Ensure dir for plt exists when copyingJames Fish2014-12-171-0/+1
| |
* | don't include all */ebin dirs in code pathTristan Sloughter2014-12-161-1/+8
|/
* update readme for 'as'Tristan Sloughter2014-12-161-2/+2
|
* add 'as' higher order taskTristan Sloughter2014-12-165-20/+70
|
* rewrite profilesTristan Sloughter2014-12-1610-171/+138
|
* Adding pkg deps tests and refactoringsFred Hebert2014-12-162-32/+55
| | | | | | | | | | | | | | | | | | | - Adding tests for package deps - Adding conflict/override warnings for package deps - Adding cycle detection for packages - Adding cycle detection for mixed packages+source - Fixing internal dependency format of package resources when converted to rebar_app_info - normalizing level-order prioritization to be based on lexicographical sort of app names rather than traversal order (which is undefined for package deps) - Fixing tests for source deps for deep cycle detection - Fixing bugs with source deps - Relaxed version format checks for test utils A lot of fixes are combined in there because I didn't want to commit non-passing code, and many bugs were found when adding the second batch of tests as part of the original effort.
* Fix error message to point to rebar3Fred Hebert2014-12-151-1/+1
|
* Merge pull request #49 from rebar/skipped-deps-warningsFred Hebert2014-12-071-0/+7
|\ | | | | Print warning when deps are being skipped.
| * Print warning when deps are being skipped.Fred Hebert2014-12-071-0/+7
| | | | | | | | | | The case in mind here is due to conflicts, and tests have been added for this.
* | use PRV_ERROR to wrap a provider error in {error, {?MODULE, ...}}Tristan Sloughter2014-12-071-1/+2
|/
* version in source dep element is no longer used, support leaving it outTristan Sloughter2014-12-062-5/+8
|
* only add lock if default profileTristan Sloughter2014-12-061-5/+10
|
* don't lose defualt deps when creating current profileTristan Sloughter2014-12-063-1/+8
|
* in relx tar call only include deps dirs if they existTristan Sloughter2014-12-061-4/+6
|
* in relx call only include deps dirs if they existTristan Sloughter2014-12-061-3/+5
|
* don't use lock file for non-defualt profile depsTristan Sloughter2014-12-062-9/+8
|
* don't store global state variables in opts dictTristan Sloughter2014-12-063-15/+31
|
* output message when starting install_deps providerTristan Sloughter2014-12-061-0/+1
|
* Handle cycle errors in providerFred Hebert2014-12-061-0/+8
|
* Return cycles in deps solverFred Hebert2014-12-061-1/+9
|
* Partial fix to circular deps (#40)Fred Hebert2014-12-061-3/+3
| | | | | | | | | - Adding tests - fixing use of set fetching to find repeated deps and prevent infinite loops On a circular loop rebar3 now fails with `{error, no_sort}`, which is uncaught and should be handled to consider the issue fully fixed.
* if already seen dep before don't try handling it againTristan Sloughter2014-12-051-22/+27
|
* print error message for failed fetchTristan Sloughter2014-12-053-29/+12
|
* only create the apps dir after successful fetchTristan Sloughter2014-12-051-1/+2
|
* merge over rebar2 PR #401Tristan Sloughter2014-12-051-5/+1
|
* change name of config for where project apps lib to project_apps_dirTristan Sloughter2014-12-053-3/+3
|
* Merge pull request #36 from tsloughter/config_readingTristan Sloughter2014-12-052-18/+4
|\ | | | | only read in rebar config and lock of dep if needed
| * only read in rebar config and lock of dep if neededTristan Sloughter2014-12-042-18/+4
| |
* | Handle more ct_run return values.omarkj2014-12-041-5/+21
|/
* Merge pull request #32 from rebar/plugin-apiTristan Sloughter2014-12-021-0/+31
|\ | | | | API for Plugins (solves #22)
| * API for Plugins (solves #22)Fred Hebert2014-12-011-0/+31
| | | | | | | | | | - includes logging macros and turns them to functions - exports customized types
* | set current_profile to default after checking global pluginsTristan Sloughter2014-12-021-1/+1
| |
* | add rebar_dirTristan Sloughter2014-12-021-0/+104
| |
* | move dir functions from utils to new module rebar_dirTristan Sloughter2014-12-0121-147/+46
| |
* | move deps_to_build out of config dict of stateTristan Sloughter2014-12-013-3/+14
| |
* | remove unneeded add path that breaks with apps/ dir as wellTristan Sloughter2014-12-011-1/+0
| |
* | do not erase deps from optsTristan Sloughter2014-12-011-1/+1
| |
* | fixes for dialyzer findingsTristan Sloughter2014-11-308-63/+43
| |
* | switch to REBAR_DEFAULT_PROFILE to make it clear the profile becomes the ↵Tristan Sloughter2014-11-301-1/+1
| | | | | | | | default for the run
* | add use of REBAR_PROFILE os var to set default profileTristan Sloughter2014-11-303-19/+37
| |
* | only apply profiles to defaultTristan Sloughter2014-11-302-9/+15
| |
* | fix handle_deps when no deps are to be fetchedTristan Sloughter2014-11-292-2/+1
| |
* | global plugins install to global config directoryTristan Sloughter2014-11-296-20/+38
| |
* | fix lock provider to work anytime it is runTristan Sloughter2014-11-296-154/+138
| |
* | wip: profilesTristan Sloughter2014-11-2913-166/+215
|/
* properly escape pathsTristan Sloughter2014-11-271-6/+6
|