James Fish
c948769512
Add crypto to base plt by default
pirms 10 gadiem
James Fish
3dff706e14
Clarify how apps are selected for the plt files
pirms 10 gadiem
James Fish
37a88be662
Introduce dialyzer otp versioned plts and base plts
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.
pirms 10 gadiem
James Fish
08698c9403
Remove inets from escript
pirms 10 gadiem
James Fish
642a71e4ce
Prepare dialyzer command for public use
* Add description
* Make configuration constitent (prefix with dialyzer_)
* Make printed info consistent
pirms 10 gadiem
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)
pirms 10 gadiem
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`.
pirms 10 gadiem
James Fish
16b2dae066
Improve formatting of dialyzer errors
Strip ":0: " from unknown type/function/behaviour warnings
pirms 10 gadiem
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`)
pirms 10 gadiem
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
pirms 10 gadiem
Tristan Sloughter
658b77a5c1
update README about escriptize command is still to do
pirms 10 gadiem
Tristan Sloughter
fb630d18ea
add included applications to app_info applications element
pirms 10 gadiem
Tristan Sloughter
293c1b8e6e
add applications field to app_info to track all deps of an application
pirms 10 gadiem
Tristan Sloughter
2ba2002a80
Update guide.md
pirms 10 gadiem
Tristan Sloughter
6616b35849
Merge pull request #11 from tsloughter/r14
fix callback r14 support
pirms 10 gadiem
Tristan Sloughter
71de52cb9d
fix callback r14 support
pirms 10 gadiem
Alexander Shorin
82ee0dbe9c
Add Erlang R14B04 for Travis CI
pirms 10 gadiem
Fred Hebert
4874a21b49
link to mailing-list pre-alpha announcement in README
pirms 10 gadiem
Fred Hebert
dc12e831aa
Merge pull request #6 from tsloughter/app_files_fix
catch error on multiplpe app files in an app dir
pirms 10 gadiem
Tristan Sloughter
8635beffc1
catch error on multiplpe app files in an app dir
pirms 10 gadiem
Tristan Sloughter
1d5703025c
fix default release output dir to _rel
pirms 10 gadiem
Tristan Sloughter
926e550f3b
update package index fetching
pirms 10 gadiem
Tristan Sloughter
4c8db4e047
write packages file to tmp so a lost connection doesn't mean corruption
pirms 10 gadiem
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.
pirms 10 gadiem
Fred Hebert
ad9ca0cc86
Built-in templates create the project directory
pirms 10 gadiem
Fred Hebert
284a5972fa
Add warnings to README for pre-alpha quality
pirms 10 gadiem
Tristan Sloughter
33e4b7e017
add cleanup_code_path back to rebar_utils for eunit provider
pirms 10 gadiem
Tristan Sloughter
039bf01ab8
fix badge to be on master
pirms 10 gadiem
Tristan Sloughter
7360bfd098
switch travis deploy as well to master branch
pirms 10 gadiem
Tristan Sloughter
2226f7c1be
switch travis to master branch
pirms 10 gadiem
Tristan Sloughter
169bfce6a7
update travis settings for rebar/rebar3 repo
pirms 10 gadiem
Fred Hebert
c4cf30e1d2
The .tmp0319203 output is gone
pirms 10 gadiem
Fred Hebert
8491d41f8e
Drop TODO header
pirms 10 gadiem
Fred Hebert
2f1db5e063
Update plugin templates and doc to use template
pirms 10 gadiem
Tristan Sloughter
6cae428058
use CONFIG_DIR of rebar3 for config directories
pirms 10 gadiem
Tristan Sloughter
768af3b906
update guide for new templater
pirms 10 gadiem
Tristan Sloughter
022ffdf6cb
Merge pull request #28 from tsloughter/templates-redux
Redo templates with docs and whatnot
pirms 10 gadiem
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.
pirms 10 gadiem
Fred Hebert
4ed1c4ef58
Allow to forcibly overwrite files with templates
pirms 10 gadiem
Fred Hebert
c832b567db
Redo templates with docs and whatnot
This totally breaks compatibility with rebar2, and maybe it shouldn't
have.
pirms 10 gadiem
Tristan Sloughter
e202367322
update plugins doc with format_error/1
pirms 10 gadiem
Tristan Sloughter
79b1f23240
move back to using format_error/1
pirms 10 gadiem
Tristan Sloughter
8d02c0767e
add deps plt
pirms 10 gadiem
Tristan Sloughter
1548d6f1e2
strip newline from end of dialyzer format warnings
pirms 10 gadiem
Tristan Sloughter
6fa13cb393
add dialyzer to readme
pirms 10 gadiem
Tristan Sloughter
8277bbf975
add dialyzer provider
pirms 10 gadiem
Tristan Sloughter
77ae749326
update package update provider
pirms 10 gadiem
Tristan Sloughter
26192b2187
pass deps dir of project to relx
pirms 10 gadiem
Tristan Sloughter
634b1a7ac2
add doc place holders
pirms 10 gadiem
Tristan Sloughter
5fd4996803
update guide
pirms 10 gadiem