summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Change mock_pkg_resource to create ebin directoryKelly McLaughlin2015-02-062-7/+2
| | | | | | | | | Change mock_pkg_resource to use rebar_test_utils:create_empty_app so that an ebin directory is created which is a good expectation for a package. Also revert the check in rebar_fetch:download_source to check for an ebin directory before adding it to the code path for package installs. If a package does not have an ebin directory it is probably a good for an exception to be thrown.
* Ensure package ebin directory exists prior to adding to code pathKelly McLaughlin2015-02-061-1/+6
|
* Add packages to code path after installationKelly McLaughlin2015-02-061-0/+1
| | | | | | | | Fix a bug where packages are not added to the code path after installation. Dependent applications that build from source are not affected by this issue since the build_apps function in rebar_prv_compiler takes care of the code path changes for them. It is only the precompiled packages that suffer from this issue.
* Merge pull request #128 from kellymclaughlin/multi-app-xref-supportTristan Sloughter2015-02-061-1/+2
|\ | | | | Add xref support for multi-app projects
| * Add xref support for multi-app projectsKelly McLaughlin2015-02-051-1/+2
|/ | | | | | | Add xref support for multi-app projects. Instead of only adding the top-level ebin directory to the xref server use rebar_state:project_apps/1 to enumerate the applications for the project and add the ebin directory for each one.
* 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
| |
* | Merge pull request #127 from kellymclaughlin/xref-providerTristan Sloughter2015-02-055-1/+490
|\ \ | |/ |/| Add xref provider for cross reference analysis
| * Add xref provider for cross reference analysisKelly McLaughlin2015-02-055-1/+490
|/ | | | | | | | | | | * 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.
* Merge pull request #115 from tsloughter/provider_hooksFred Hebert2015-02-028-41/+119
|\ | | | | support for provider_hooks in config
| * clean up create_logic_providers functionTristan Sloughter2015-02-021-9/+9
| |
| * update erlydtl to latest releaseTristan Sloughter2015-02-021-1/+1
| |
| * fix find_apps when searching for invalid appsTristan Sloughter2015-02-023-10/+11
| |
| * add hook SUITE testsTristan Sloughter2015-01-312-0/+57
| |
| * support for provider_hooks in configTristan Sloughter2015-01-314-31/+51
|/
* Merge pull request #120 from tsloughter/masterFred Hebert2015-01-291-1/+1
|\ | | | | no more mode minimal
| * no more mode minimalTristan Sloughter2015-01-281-1/+1
|/
* Merge pull request #119 from tsloughter/masterFred Hebert2015-01-271-1/+6
|\ | | | | app_info:valid needs to return a boolean and not throw an exception
| * app_info:valid needs to return a boolean and not throw an exceptionTristan Sloughter2015-01-271-1/+6
|/
* Merge pull request #118 from tsloughter/masterFred Hebert2015-01-262-3/+6
|\ | | | | use processed app file for validation
| * use processed app file for validationTristan Sloughter2015-01-262-3/+6
|/
* Merge pull request #117 from tsloughter/masterFred Hebert2015-01-261-2/+2
|\ | | | | fix typo in error tuple and throw error in install_deps
| * 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
| |
* | Merge pull request #114 from tsloughter/lock_dupsFred Hebert2015-01-261-2/+9
|\ \ | | | | | | check locks before locking a dep to not have duplicates
| * | check locks before locking a dep to not have duplicatesTristan Sloughter2015-01-251-2/+9
| |/
* | Merge pull request #113 from tsloughter/emu_argsFred Hebert2015-01-261-0/+1
|\ \ | |/ |/| add emulator args to escript for faster load time
| * add emulator args to escript for faster load timeTristan Sloughter2015-01-241-0/+1
|/
* Merge pull request #111 from tsloughter/test_erl_optsFred Hebert2015-01-232-7/+7
|\ | | | | don't lose erl_opts when compiling for tests
| * don't lose erl_opts when compiling for testsTristan Sloughter2015-01-232-7/+7
| |
* | Merge pull request #109 from tsloughter/error_dep_parsingFred Hebert2015-01-222-5/+8
|\ \ | |/ | | Error dep parsing
| * 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-194-21/+121
|\ | | | | generalize some temporary directory handling and add it to `rebar_file_utils`
| * fix `reset_dir` test suite for r15xalisdair sullivan2015-01-181-3/+3
| | | | | | swap `file:list_dir` for `file:list_dir_all` due to nonexistence of latter prior to r16x
| * 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-152-1/+117
| | | | | | | | (in `rebar_file_utils`)
* | Merge pull request #105 from tsloughter/masterFred Hebert2015-01-181-7/+15
|\ \ | | | | | | do provider returns the error of the first provider to fail and stops
| * | do provider returns the error of the first provider to fail and stopsTristan Sloughter2015-01-181-7/+15
| | |
* | | Merge pull request #104 from tsloughter/masterFred Hebert2015-01-171-2/+9
|\ \ \ | |/ / | | / | |/ |/| no skip warning for seen dep that has locked version
| * no skip warning for seen dep that has locked versionTristan Sloughter2015-01-171-2/+9
|/
* Merge pull request #100 from talentdeficit/first_files_fixTristan Sloughter2015-01-152-2/+2
|\ | | | | change more instances of mistyped `erl_first_modules` to `erl_first_files`
| * change more instances of mistyped `erl_first_modules` toalisdair sullivan2015-01-152-2/+2
|/ | | | | | `erl_first_files` fixes #99
* Merge pull request #98 from tsloughter/masterFred Hebert2015-01-131-1/+1
|\ | | | | don't mark dep as seen before calling handle_dep
| * don't mark dep as seen before calling handle_depTristan Sloughter2015-01-131-1/+1
|/