summaryrefslogtreecommitdiff
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
...
* | update project app list with new appinfo records after buildTristan Sloughter2015-02-193-29/+32
|/
* Merge pull request #160 from tsloughter/sub_depsFred Hebert2015-02-193-15/+34
|\ | | | | use project sub-apps with deps in their rebar.config
| * sort project apps before merging depsTristan Sloughter2015-02-193-13/+15
| |
| * use project sub-apps with deps in their rebar.configTristan Sloughter2015-02-172-3/+20
| |
* | fix error where an exception in ct could hang rebar by monitoringalisdair sullivan2015-02-181-2/+4
| | | | | | | | the process where ct is performed
* | Merge pull request #159 from talentdeficit/quiet_ctTristan Sloughter2015-02-171-8/+33
|\ \ | | | | | | suppress common_test output unless `rebar3 ct` is run with verbose switch
| * | suppress common_test output unless `rebar3 ct` is run with verbose switchalisdair sullivan2015-02-171-8/+33
| |/
* | purge mods loaded during check to see if they need to be recompiledalisdair sullivan2015-02-171-2/+4
|/ | | | during compile task before running subsequent tasks
* Merge pull request #157 from talentdeficit/real_needs_recompileTristan Sloughter2015-02-171-9/+26
|\ | | | | check already compiled modules compile arguments against current compile arguments
| * check already compiled modules compile arguments against current compilealisdair sullivan2015-02-161-9/+26
| | | | | | | | arguments to ensure compile results as as intended
* | print error message suggesting to run rebar3 update if missing package indexTristan Sloughter2015-02-171-0/+1
| |
* | parse version constraints in hex registry for digraphTristan Sloughter2015-02-171-10/+52
| |
* | replace package management with hex.pmTristan Sloughter2015-02-179-80/+122
| |
* | remove unused functions from app utilsTristan Sloughter2015-02-171-26/+5
| |
* | Initial `deps` commandFred Hebert2015-02-161-1/+69
| |
* | Merge pull request #154 from tsloughter/git_ref_needs_updateFred Hebert2015-02-161-8/+15
|\ \ | | | | | | needs_update: on ref defined deps only have to match prefix if 7+ chars
| * | needs_update: on ref defined deps only have to match prefix if 7+ charsTristan Sloughter2015-02-161-8/+15
| | |
* | | Remove extra default warningsJames Fish2015-02-161-7/+1
|/ / | | | | | | | | | | It is not convenient for everyone to handle unmatched_returns and underspecs warnings. Extra default warnings are removed to match dialyzer's behaviour.
* | Fix dialyzer when only updating pltJames Fish2015-02-151-1/+1
| | | | | | | | Previously dialyzer would crash when not doing success typing analysis.
* | Fix {dialyzer_plt_warnings, false} returning warningsJames Fish2015-02-141-6/+26
|/ | | | | | When dialyzer_plt_warnings is false no warnings should be returned when updating a PLT. Previously any callgraph warnings would be returned when updating a PLT regardless of the get_warnings option.
* Merge pull request #142 from rebar/wtf-providerTristan Sloughter2015-02-134-2/+105
|\ | | | | Initial WTF provider implementation
| * Advertise rebar3 wtf in error messagesFred Hebert2015-02-131-1/+3
| |
| * Initial WTF provider implementationFred Hebert2015-02-123-1/+102
| | | | | | | | Tests missing
* | Fix #140 and preserve erl_first_files orderMartin Karlsson2015-02-131-5/+20
|/ | | | | | Match erl_first_files properly against all files needing compilation and make sure the order of erl_first_files as specified in rebar.config is preserved (rebar/rebar#445)
* Warnings for Deletions and friendly errorsFred Hebert2015-02-121-10/+28
| | | | | | | | | Apps that are no longer used are not automatically deleted, but we tell users it can be done. This is safer while we're not sure of the correctness of these messages. Error messages are added for transient dependencies and dependencies not found.
* Support multiple app upgrade & lock testsFred Hebert2015-02-111-19/+19
| | | | | | - Many apps is supported through and through - Not mentioning any app upgrades all apps - Locks are refreshed on disk and tested as such after an upgrade
* Fix testcases, add multi-app upgrade supportFred Hebert2015-02-112-22/+75
| | | | | | | | todo: - relock stuff - default to all apps needing upgrade - more tests? - pkgs?
* Refactor install_deps to match 'upgrade' ideasFred Hebert2015-02-111-52/+61
| | | | | | - rename 'update' to 'upgrade' -- 'update' stands for package list updates, not dependencies upgrades - extracting some deeply nested code
* More progress on upgradesFred Hebert2015-02-112-13/+19
| | | | | | Only the most complex case is failing, where cross-dependencies would need to be refetched as an update clears an app of its dependencies and a different subtree should override it.
* Partial work + Failing testsFred Hebert2015-02-111-1/+1
| | | | | The problem with the current effort is handling of transitive dependency upgrades and possible values.
* Alternative attemptFred Hebert2015-02-112-34/+36
|
* WIPFred Hebert2015-02-114-18/+42
| | | | | | Test that all the correct locks are set for an upgrade run. Now to actually re-run the install deps and prove it works
* Merge pull request #138 from talentdeficit/args_to_tasksFred Hebert2015-02-112-7/+56
|\ | | | | factor out task/args parsing from `do` for use in other meta commands
| * factor out task/args parsing from `do` for use in other metaalisdair sullivan2015-02-082-7/+56
| | | | | | | | commands
* | Merge pull request #132 from fishcakez/dialyzer_failTristan Sloughter2015-02-081-28/+51
|\ \ | | | | | | Dialyzer fails if any warnings
| * | Fix dialyzer plt checking typoJames Fish2015-02-071-1/+1
| | |
| * | Display full path in dialyzer warningssJames Fish2015-02-071-1/+1
| | |
| * | Fail if any dialyzer warnings aren't unknownsJames Fish2015-02-071-25/+48
| | |
* | | Merge pull request #135 from fishcakez/dialyzer_erts_appTristan Sloughter2015-02-081-0/+7
|\ \ \ | | | | | | | | Fix dialyzer erts file lookup for releases prior to R16B02
| * | | Fix dialyzer erts file lookup for releases prior to R16B02James Fish2015-02-081-0/+7
| |/ / | | | | | | | | | | | | erts.app was introduced in R16B02 so read all beam files from the erts ebin directory if erts.app file does not exist.
* | | return an error when an app file is missingnuex2015-02-071-0/+1
|/ /
* | Change mock_pkg_resource to create ebin directoryKelly McLaughlin2015-02-061-6/+1
| | | | | | | | | | | | | | | | | | 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.
* | 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
| |/
* | 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
|