summaryrefslogtreecommitdiff
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* Merge pull request #123 from tsloughter/pkg_depsTristan Sloughter2015-02-052-10/+10
|\ | | | | package dep names are binary, fix install deps and related tests
| * package dep names are binary, fix install deps and related testsTristan Sloughter2015-02-032-10/+10
| |
* | Add xref provider for cross reference analysisKelly McLaughlin2015-02-052-0/+297
|/ | | | | | | | | | | * Add a provider for the xref tool for running cross reference analysis on a project. Most of the code has been ported directly from the rebar2 rebar_xref module with some modification and cleanup to support testing. * Port over the eunit test suite from rebar2, but convert it to common_test. The testing is the same, but now the erlang term output is examined to determine if the test run is successful instead of scanning the console output for the expected strings.
* clean up create_logic_providers functionTristan Sloughter2015-02-021-9/+9
|
* fix find_apps when searching for invalid appsTristan Sloughter2015-02-022-9/+9
|
* support for provider_hooks in configTristan Sloughter2015-01-313-30/+50
|
* app_info:valid needs to return a boolean and not throw an exceptionTristan Sloughter2015-01-271-1/+6
|
* use processed app file for validationTristan Sloughter2015-01-262-3/+6
|
* fix typo in error tuple and throw error in install_depsTristan Sloughter2015-01-261-2/+2
|
* Merge pull request #112 from tsloughter/stuffFred Hebert2015-01-265-98/+79
|\ | | | | Clean up and backwards compatability
| * refactor rebar_otp_app for smaller/cleaner functionsTristan Sloughter2015-01-261-26/+33
| |
| * add warning that dep options like raw are being ignoredTristan Sloughter2015-01-241-1/+2
| |
| * clean up and better error messages when validating appsTristan Sloughter2015-01-243-92/+62
| |
| * ignore opts list in src dep is it is thereTristan Sloughter2015-01-241-0/+3
| |
| * fix for rebar deps dir path in hooks, making it absoluteTristan Sloughter2015-01-241-1/+1
| |
* | check locks before locking a dep to not have duplicatesTristan Sloughter2015-01-251-2/+9
|/
* don't lose erl_opts when compiling for testsTristan Sloughter2015-01-232-7/+7
|
* error message for failing to parse a depTristan Sloughter2015-01-211-4/+7
|
* remove extra newline in cleanTristan Sloughter2015-01-191-1/+1
|
* Merge pull request #101 from talentdeficit/file_utilsTristan Sloughter2015-01-193-21/+35
|\ | | | | generalize some temporary directory handling and add it to `rebar_file_utils`
| * use new `rebar_file_utils` functions in `eunit` and `ct` providersalisdair sullivan2015-01-162-20/+4
| |
| * add functions `system_tmpdir/0,1` and `reset_dir/1`alisdair sullivan2015-01-151-1/+31
| | | | | | | | (in `rebar_file_utils`)
* | do provider returns the error of the first provider to fail and stopsTristan Sloughter2015-01-181-7/+15
| |
* | no skip warning for seen dep that has locked versionTristan Sloughter2015-01-171-2/+9
|/
* change more instances of mistyped `erl_first_modules` toalisdair sullivan2015-01-152-2/+2
| | | | | | `erl_first_files` fixes #99
* don't mark dep as seen before calling handle_depTristan Sloughter2015-01-131-1/+1
|
* replace single profile atom in providers with list of profilesTristan Sloughter2015-01-114-14/+13
|
* 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
| |