James Fish
642a71e4ce
Prepare dialyzer command for public use
* Add description
* Make configuration constitent (prefix with dialyzer_)
* Make printed info consistent
10 years ago
James Fish
16da6d2630
Add options to skip updating plt or success typing
* --update-plt=true|false (false skips updating plt)
* --succ-typings=true|false (false skips success typing analysis)
10 years ago
James Fish
a96fddfcde
Improve default dialyzer PLT by trying to guess dependencies
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`.
10 years ago
James Fish
16b2dae066
Improve formatting of dialyzer errors
Strip ":0: " from unknown type/function/behaviour warnings
10 years ago
James Fish
62e7cc27da
Refactor dialyzer PLT use
* 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`)
10 years ago
James Fish
03b07c3d39
Fix default dialyzer warnings
* Nolonger supress standard warnings
* Nolonger include race_conditions by default[1]
[1] http://erlang.org/pipermail/erlang-bugs/2014-July/004518.html
10 years ago
Tristan Sloughter
fb630d18ea
add included applications to app_info applications element
10 years ago
Tristan Sloughter
293c1b8e6e
add applications field to app_info to track all deps of an application
10 years ago
Tristan Sloughter
71de52cb9d
fix callback r14 support
10 years ago
Tristan Sloughter
8635beffc1
catch error on multiplpe app files in an app dir
10 years ago
Tristan Sloughter
1d5703025c
fix default release output dir to _rel
10 years ago
Tristan Sloughter
926e550f3b
update package index fetching
10 years ago
Tristan Sloughter
4c8db4e047
write packages file to tmp so a lost connection doesn't mean corruption
10 years ago
Fred Hebert
731c3fd8a4
Minor template fixes
- The OTP app template now adds the supevisor
- The default apps_dir value does not contain the trailing '/' that the
template index already added.
10 years ago
Tristan Sloughter
33e4b7e017
add cleanup_code_path back to rebar_utils for eunit provider
10 years ago
Tristan Sloughter
6cae428058
use CONFIG_DIR of rebar3 for config directories
10 years ago
Fred Hebert
392abf1481
First unkeyed var is now 'name', appid -> name
The first variable can be unkeyed and the provider will sub in the
variable name 'name'. Additionally, the built-in templates and
documentation have been updated so that 'appid' is now 'name' and the
alternative commands are shown.
10 years ago
Fred Hebert
4ed1c4ef58
Allow to forcibly overwrite files with templates
10 years ago
Fred Hebert
c832b567db
Redo templates with docs and whatnot
This totally breaks compatibility with rebar2, and maybe it shouldn't
have.
10 years ago
Tristan Sloughter
79b1f23240
move back to using format_error/1
10 years ago
Tristan Sloughter
8d02c0767e
add deps plt
10 years ago
Tristan Sloughter
1548d6f1e2
strip newline from end of dialyzer format warnings
10 years ago
Tristan Sloughter
8277bbf975
add dialyzer provider
10 years ago
Tristan Sloughter
77ae749326
update package update provider
10 years ago
Tristan Sloughter
26192b2187
pass deps dir of project to relx
10 years ago
Tristan Sloughter
bcb3689654
main module cleanup
10 years ago
Tristan Sloughter
f1ca7950c3
fix warning/error compilation output
10 years ago
Tristan Sloughter
0608e5087b
prepend base_dir when expanding code path
10 years ago
Tristan Sloughter
ee1214a9a8
add plugin and its deps to path as they are built
10 years ago
Tristan Sloughter
d8f3ea005a
add comment
10 years ago
Tristan Sloughter
557de6f8b4
support base dir and properly reset deps_dir after plugin provider
10 years ago
Tristan Sloughter
5c465514b2
add deps to code paths after build so available to other deps
10 years ago
Tristan Sloughter
1ff904f39a
handle throw by relx
10 years ago
Tristan Sloughter
fd9f88b98a
get rid of old plugin loading
10 years ago
Tristan Sloughter
e9adf01d01
warn on bad plugin
10 years ago
Tristan Sloughter
deca5d9edb
add warning if user is running with erts-6.1
10 years ago
Tristan Sloughter
36b8e61a2b
better handling of error messages
10 years ago
Tristan Sloughter
f9b73b5d7a
properly reset cwd after finding version of git resource
10 years ago
Tristan Sloughter
bc9bb1df49
support branch/tag/ref-less git deps
10 years ago
Tristan Sloughter
fe6827706f
add eunit task, still work to be done
10 years ago
Tristan Sloughter
f7e2b77bca
install test deps to separate directory
10 years ago
Tristan Sloughter
c9f2652a16
common test provider must depend on test deps
10 years ago
Tristan Sloughter
083d54211e
include relx options in tar command
10 years ago
Tristan Sloughter
ed017289ed
switch ct provider to use external provider behavior
10 years ago
Tristan Sloughter
c508a3feb8
fix tar provider to pass release and tar to relx as 2 commands
10 years ago
Tristan Sloughter
055fa5b639
update config deps and support semver in app vsn
10 years ago
Tristan Sloughter
a7bd7a3e1c
add make_vsn to rebar_resource for replacing app vsns
10 years ago
Tristan Sloughter
6d800fc4c8
cleanup upgrade package
10 years ago
Tristan Sloughter
26892b9d41
wip: upgrade pkg deps
10 years ago
Tristan Sloughter
a7c2ecff73
add pkg resource
10 years ago