Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | fix bareness issues | Fred Hebert | 2015-05-31 | 1 | -1/+1 |
| | | | | | | - Crashes in providers lib when no providers in a namespace are bare - Making sure bareness matches semantics; i.e. a bare provider is visible, a non-bare provider is hidden. | ||||
* | print and format error message for bad .app files and all bad configs | Tristan Sloughter | 2015-05-22 | 1 | -2/+2 |
| | |||||
* | Write dialyzer warnings to file | James Fish | 2015-04-28 | 1 | -56/+95 |
| | |||||
* | Error on dialyzer unknown warnings like rebar2 | James Fish | 2015-04-28 | 1 | -67/+86 |
| | |||||
* | real bootstrapping | Tristan Sloughter | 2015-04-22 | 1 | -1/+1 |
| | |||||
* | track and cleanup code paths for different contexts | Tristan Sloughter | 2015-04-21 | 1 | -0/+3 |
| | |||||
* | use PRV_ERROR for formattable errors | Fred Hebert | 2015-03-16 | 1 | -2/+3 |
| | | | | Also expose it in rebar_api | ||||
* | Store base PLT in ~/.cache/rebar3/ | James Fish | 2015-03-12 | 1 | -2/+2 |
| | |||||
* | update all examples in providers to use rebar3 | Tristan Sloughter | 2015-03-07 | 1 | -1/+1 |
| | |||||
* | Merge pull request #227 from fishcakez/dialyzer_plt | Tristan Sloughter | 2015-03-05 | 1 | -20/+3 |
|\ | | | | | Change PLT name and directory | ||||
| * | Shorten default PLT name | James Fish | 2015-03-05 | 1 | -1/+1 |
| | | |||||
| * | Fix dialyzer active otp release detection | James Fish | 2015-03-05 | 1 | -18/+1 |
| | | |||||
| * | Change default project PLT location to base directory | James Fish | 2015-03-05 | 1 | -2/+2 |
| | | | | | | | | | | | | Previously dialyzer stored the project PLT in ./build/, which meant the same PLT was used for all profiles. This could mean partial rebuilding of a PLT when switching between profiles. | ||||
* | | Add debug statements to dialyzer provider | James Fish | 2015-03-05 | 1 | -1/+5 |
|/ | |||||
* | Do not automatically check plt | James Fish | 2015-03-03 | 1 | -2/+7 |
| | |||||
* | follow xdg standard. fixes #122 | Tristan Sloughter | 2015-02-19 | 1 | -2/+1 |
| | |||||
* | Remove extra default warnings | James Fish | 2015-02-16 | 1 | -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 plt | James Fish | 2015-02-15 | 1 | -1/+1 |
| | | | | Previously dialyzer would crash when not doing success typing analysis. | ||||
* | Fix {dialyzer_plt_warnings, false} returning warnings | James Fish | 2015-02-14 | 1 | -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 #132 from fishcakez/dialyzer_fail | Tristan Sloughter | 2015-02-08 | 1 | -28/+51 |
|\ | | | | | Dialyzer fails if any warnings | ||||
| * | Fix dialyzer plt checking typo | James Fish | 2015-02-07 | 1 | -1/+1 |
| | | |||||
| * | Display full path in dialyzer warningss | James Fish | 2015-02-07 | 1 | -1/+1 |
| | | |||||
| * | Fail if any dialyzer warnings aren't unknowns | James Fish | 2015-02-07 | 1 | -25/+48 |
| | | |||||
* | | Fix dialyzer erts file lookup for releases prior to R16B02 | James Fish | 2015-02-08 | 1 | -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. | ||||
* | Ensure dir for plt exists when copying | James Fish | 2014-12-17 | 1 | -0/+1 |
| | |||||
* | move dir functions from utils to new module rebar_dir | Tristan Sloughter | 2014-12-01 | 1 | -1/+1 |
| | |||||
* | Fix printing of dialyzer warnings | James Fish | 2014-11-22 | 1 | -1/+1 |
| | | | | | Fixes cases where dialyzer warning might include a `~` causing printing to console to fail with `badarg`. | ||||
* | Fix dialyzer to work on rebar | James Fish | 2014-11-22 | 1 | -5/+28 |
| | | | | | | | code:lib_dir/1,2 can return archive directory for rebar escript archive applications, rather than the application's directory in the project. Add dependencies not listed in `applications` to `dialyzer_plt_apps`. | ||||
* | Add configuration to hide warnings when updating plt | James Fish | 2014-11-21 | 1 | -3/+8 |
| | |||||
* | Cleanup dialyzer provider | James Fish | 2014-11-21 | 1 | -37/+38 |
| | |||||
* | Add crypto to base plt by default | James Fish | 2014-11-21 | 1 | -0/+1 |
| | |||||
* | Clarify how apps are selected for the plt files | James Fish | 2014-11-21 | 1 | -4/+6 |
| | |||||
* | Introduce dialyzer otp versioned plts and base plts | James Fish | 2014-11-20 | 1 | -88/+120 |
| | | | | | | | Adds a base plt per OTP version that is stored in $HOME/.rebar3/. The base plt is copied to new projects that don't have a plt for the active OTP version. Modules are added/removed to the project's copy based on the project's .app files. | ||||
* | Prepare dialyzer command for public use | James Fish | 2014-11-20 | 1 | -11/+36 |
| | | | | | | * Add description * Make configuration constitent (prefix with dialyzer_) * Make printed info consistent | ||||
* | Add options to skip updating plt or success typing | James Fish | 2014-11-20 | 1 | -2/+21 |
| | | | | | * --update-plt=true|false (false skips updating plt) * --succ-typings=true|false (false skips success typing analysis) | ||||
* | Improve default dialyzer PLT by trying to guess dependencies | James Fish | 2014-11-20 | 1 | -11/+51 |
| | | | | | | | | | | Try to automatically detect all application dependencies when `plt_apps` is not included in `rebar.config`. Note that this will not follow `runtime_dependencies` in OTP applications. This can be resolved by adding any missing `runtime_dependencies` to `applications` in the .app.src file or including `plt_apps` in `rebar.config`. | ||||
* | Improve formatting of dialyzer errors | James Fish | 2014-11-20 | 1 | -1/+9 |
| | | | | Strip ":0: " from unknown type/function/behaviour warnings | ||||
* | Refactor dialyzer PLT use | James Fish | 2014-11-20 | 1 | -45/+164 |
| | | | | | | * Only include `plt_apps` (defaults to deps) in a single PLT * Update PLT when `plt_apps` (or deps) are changed or updated * Print warnings for all dialyzer runs (not just `succ_typings`) | ||||
* | Fix default dialyzer warnings | James Fish | 2014-11-20 | 1 | -9/+1 |
| | | | | | | | * Nolonger supress standard warnings * Nolonger include race_conditions by default[1] [1] http://erlang.org/pipermail/erlang-bugs/2014-July/004518.html | ||||
* | move back to using format_error/1 | Tristan Sloughter | 2014-11-09 | 1 | -6/+6 |
| | |||||
* | add deps plt | Tristan Sloughter | 2014-11-09 | 1 | -6/+8 |
| | |||||
* | strip newline from end of dialyzer format warnings | Tristan Sloughter | 2014-11-08 | 1 | -1/+2 |
| | |||||
* | add dialyzer provider | Tristan Sloughter | 2014-11-08 | 1 | -0/+105 |