summaryrefslogtreecommitdiff
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* when compiling `common_test` or `eunit` use the same tmp diralisdair sullivan2015-01-092-10/+34
| | | | from run to run
* change `rebar_app_into` to `rebar_app_info` in typespecsalisdair sullivan2015-01-081-3/+3
|
* Merge pull request #88 from talentdeficit/test_providersTristan Sloughter2015-01-083-571/+311
|\ | | | | test providers
| * add support for a bare `test` directory when using `apps` libdirsalisdair sullivan2015-01-082-9/+50
| |
| * exclude `_checkouts` from directories to be precompiled foralisdair sullivan2015-01-082-5/+27
| | | | | | | | `common_test` and `eunit` providers
| * adjust handling of `common_test` `dir` option and refactor provideralisdair sullivan2015-01-081-19/+33
| | | | | | | | option handling
| * add `eunit` and `common_test` to `applications` key of `rebar.app`alisdair sullivan2015-01-081-0/+2
| |
| * switch to `lists:ukeymerge` to merge `ct` opts for better behavioralisdair sullivan2015-01-071-13/+1
| | | | | | | | in presence of keys defined multiple times
| * preserve rebar path when running `ct` and `eunit` testsalisdair sullivan2015-01-072-3/+8
| |
| * reworked ct provideralisdair sullivan2015-01-061-82/+133
| | | | | | | | | | | | | | | | | | | | compiles common test files in a temporary dir (or a user specified dir) and runs tests without leaving artifacts in the source tree precompile tests using `rebar.config` and disable autocompile so project specific options are used fixes #62
| * reworked eunit provideralisdair sullivan2015-01-061-493/+110
| | | | | | | | | | | | | | | | | | compiles apps and eunit test files in a temporary dir (or a user specified dir) and runs tests without leaving artifacts in the source tree automatically defines the 'TEST' macro if not already defined and adds `test` to `src_dirs` to allow for eunit test files outside `src`
* | do not include dir . in relx lib paths it will break lib discoveryTristan Sloughter2015-01-072-2/+4
| |
* | Merge pull request #83 from tsloughter/masterTristan Sloughter2015-01-045-73/+182
|\ \ | | | | | | overrides working except for transitive dep inheritance with lock file
| * | don't allow locked transitive dep to override higher level depTristan Sloughter2015-01-043-37/+49
| | |
| * | use level in lock file so changes to config don't change outcome of runTristan Sloughter2015-01-022-2/+3
| | |
| * | overrides working with lock except in case of adding to config after lockTristan Sloughter2015-01-013-40/+69
| | |
| * | overrides working except for transitive dep inheritance with lock fileTristan Sloughter2014-12-304-24/+91
| |/
* | point compiler to the right config value for which files need to bealisdair sullivan2015-01-011-1/+1
|/ | | | compiled first
* remove no longer relevant test machinery in rebar_erlc_compileralisdair sullivan2014-12-241-153/+0
|
* update plugin install codeTristan Sloughter2014-12-243-4/+7
|
* Merge pull request #76 from tsloughter/masterTristan Sloughter2014-12-244-16/+21
|\ | | | | Small release fix and new plugin loading
| * include providers listed in plugins envTristan Sloughter2014-12-242-14/+19
| |
| * include project app dirs in release lib_dirs to searchTristan Sloughter2014-12-242-2/+2
| |
* | Add support for custom templates in subdirectoriesFred Hebert2014-12-231-1/+1
|/ | | | - Includes tests for templates and their application
* update erlydtl provider to use namespacesTristan Sloughter2014-12-211-5/+3
|
* Tests and fixes for namespacesFred Hebert2014-12-211-2/+7
|
* Fix up programmatic interface to rebar3Fred Hebert2014-12-211-3/+3
| | | | Now supports arbitrary commands
* 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
|