Tristan Sloughter
c705f9eff9
fix plugin docs: no longer splitting src and pkg deps in state
10 years ago
Tristan Sloughter
fc2089aecf
start of breaking out test code for ease of checks
10 years ago
Tristan Sloughter
731f05cc3d
fix handle_deps when no deps are to be fetched
10 years ago
Tristan Sloughter
9afd6e89b2
global plugins install to global config directory
10 years ago
Tristan Sloughter
bdd5d902d9
fix lock provider to work anytime it is run
10 years ago
Tristan Sloughter
14cb6803e0
wip: profiles
10 years ago
Fred Hebert
8d655d3c50
Merge pull request #28 from tsloughter/paths
properly escape paths
10 years ago
Tristan Sloughter
154b70b466
properly escape paths
10 years ago
Tristan Sloughter
572b2f5ecb
Merge pull request #26 from omarkj/omarkj-fix-ct-options
Transform rebar3 ct input
10 years ago
omarkj
cd2f72d2aa
Transform silent_connections well and parse
verbosity. Verbosity can be a integer but I am
parsing it as a term. This will work for integers
as well as terms.
10 years ago
omarkj
a93723189f
Correctly parse create_priv_dir.
10 years ago
omarkj
b0a48436bf
Return errors when tests fail.
10 years ago
omarkj
94e474e471
Validate the input as it comes in from the
command line by converting things to atoms and
splitting up strings where needed.
10 years ago
Fred Hebert
8792c54883
Merge pull request #21 from tsloughter/master
update provider template for changes to format_error/1
10 years ago
Tristan Sloughter
414621fb82
move rebar.hrl to src to keep private, not for use in plugins
10 years ago
Tristan Sloughter
2e0ea8f8d2
update plugins doc to remove include of rebar header
10 years ago
Tristan Sloughter
6914429bc6
remove include of rebar header from plugin template
10 years ago
Tristan Sloughter
4002e57141
add .rebar3 to gitignore
10 years ago
Tristan Sloughter
e5717547d5
update provider template for changes to format_error/1
10 years ago
Tristan Sloughter
79192124cf
Merge pull request #20 from tsloughter/master
fix plugin module template, add merl to escript, upgrade erlydtl
10 years ago
Tristan Sloughter
7e01094ca1
update travis to support elrydtl 0.9.4 by removing R14
10 years ago
Tristan Sloughter
4f3c5fc68f
remove unneeded portions of bootstrap script
10 years ago
Tristan Sloughter
ddee7ec046
fix plugin module template, add merl to escript, upgrade erlydtl
10 years ago
Tristan Sloughter
b8ada39c36
Merge pull request #19 from rebar/drop-template-cwd-search
Drop search for templates in cwd
10 years ago
Fred Hebert
45ac9eb94d
Drop search for templates in cwd
Templates should only be in ~/.rebar3/templates and the built-in ones,
bar some specific overrides someone may want.
Looking recursively for templates in the CWD (.) may end up searching
nearly forever if the project is being created at the top of a very deep
directory tree, with extremely unlikely chances to find relevant
templates.
It causes more problems than benefits.
10 years ago
Tristan Sloughter
38f40f2cc2
Merge pull request #10 from kxepal/patch-1
Add Erlang R14B04 for Travis CI
10 years ago
Tristan Sloughter
6ec98e0b69
rename functions to be clearer
10 years ago
Tristan Sloughter
4ea12beb77
fix git resource update check, bad url comparison
10 years ago
Tristan Sloughter
4888810c69
use digraph topo sort for building
10 years ago
Tristan Sloughter
eb5c0eb424
include initial verticies in solution list
10 years ago
Tristan Sloughter
3e01e3e46d
replace rlx_depsolver types with new package types
10 years ago
Tristan Sloughter
af35d5f0a2
replace rlx_depsolver use with new rebar_digraph
10 years ago
Tristan Sloughter
f22db1302d
new dep graph working
10 years ago
Tristan Sloughter
e9b58f2775
set REBAR_DEPS_DIR in hooks env and run pre_compile hooks before deps compile
10 years ago
Tristan Sloughter
6c0b3f87c0
fix check for plugin being a provider
10 years ago
Tristan Sloughter
c50bbc88e5
Merge pull request #17 from fishcakez/dialyzer2
Fix rebar dialyzer to work on applications in rebar archive
10 years ago
James Fish
e90219cb14
Fix printing of dialyzer warnings
Fixes cases where dialyzer warning might include a `~` causing printing
to console to fail with `badarg`.
10 years ago
James Fish
0bcec763ba
Fix dialyzer to work on rebar
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`.
10 years ago
Tristan Sloughter
a24f4019ed
Merge pull request #13 from fishcakez/dialyzer
[WIP] Improve dialyzer command
10 years ago
James Fish
4ee0157b96
Add configuration to hide warnings when updating plt
10 years ago
James Fish
16c9a23212
Cleanup dialyzer provider
10 years ago
James Fish
c948769512
Add crypto to base plt by default
10 years ago
James Fish
3dff706e14
Clarify how apps are selected for the plt files
10 years ago
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.
10 years ago
James Fish
08698c9403
Remove inets from escript
10 years ago
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