Tristan Sloughter
3af351cec2
set current_profile to default after checking global plugins
10 年前
Tristan Sloughter
31db811e98
add rebar_dir
10 年前
Tristan Sloughter
8e5c916cb6
move dir functions from utils to new module rebar_dir
10 年前
Fred Hebert
c3d05b9724
API for Plugins (solves #22 )
- includes logging macros and turns them to functions
- exports customized types
10 年前
Tristan Sloughter
fa71d55b0d
move deps_to_build out of config dict of state
10 年前
Tristan Sloughter
e154b9965f
remove unneeded add path that breaks with apps/ dir as well
10 年前
Tristan Sloughter
3386765e08
do not erase deps from opts
10 年前
Tristan Sloughter
5673fe035d
fixes for dialyzer findings
10 年前
Tristan Sloughter
56fdedaf72
switch to REBAR_DEFAULT_PROFILE to make it clear the profile becomes the default for the run
10 年前
Tristan Sloughter
5fdf2f82d5
add use of REBAR_PROFILE os var to set default profile
10 年前
Tristan Sloughter
3abb122b35
only apply profiles to default
10 年前
Tristan Sloughter
731f05cc3d
fix handle_deps when no deps are to be fetched
10 年前
Tristan Sloughter
9afd6e89b2
global plugins install to global config directory
10 年前
Tristan Sloughter
bdd5d902d9
fix lock provider to work anytime it is run
10 年前
Tristan Sloughter
14cb6803e0
wip: profiles
10 年前
Tristan Sloughter
154b70b466
properly escape paths
10 年前
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 年前
omarkj
a93723189f
Correctly parse create_priv_dir.
10 年前
omarkj
b0a48436bf
Return errors when tests fail.
10 年前
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 年前
Tristan Sloughter
414621fb82
move rebar.hrl to src to keep private, not for use in plugins
10 年前
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 年前
Tristan Sloughter
6ec98e0b69
rename functions to be clearer
10 年前
Tristan Sloughter
4ea12beb77
fix git resource update check, bad url comparison
10 年前
Tristan Sloughter
4888810c69
use digraph topo sort for building
10 年前
Tristan Sloughter
eb5c0eb424
include initial verticies in solution list
10 年前
Tristan Sloughter
3e01e3e46d
replace rlx_depsolver types with new package types
10 年前
Tristan Sloughter
af35d5f0a2
replace rlx_depsolver use with new rebar_digraph
10 年前
Tristan Sloughter
f22db1302d
new dep graph working
10 年前
Tristan Sloughter
e9b58f2775
set REBAR_DEPS_DIR in hooks env and run pre_compile hooks before deps compile
10 年前
Tristan Sloughter
6c0b3f87c0
fix check for plugin being a provider
10 年前
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 年前
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 年前
James Fish
4ee0157b96
Add configuration to hide warnings when updating plt
10 年前
James Fish
16c9a23212
Cleanup dialyzer provider
10 年前
James Fish
c948769512
Add crypto to base plt by default
10 年前
James Fish
3dff706e14
Clarify how apps are selected for the plt files
10 年前
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 年前
James Fish
642a71e4ce
Prepare dialyzer command for public use
* Add description
* Make configuration constitent (prefix with dialyzer_)
* Make printed info consistent
10 年前
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 年前
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 年前
James Fish
16b2dae066
Improve formatting of dialyzer errors
Strip ":0: " from unknown type/function/behaviour warnings
10 年前
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 年前
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 年前
Tristan Sloughter
fb630d18ea
add included applications to app_info applications element
10 年前
Tristan Sloughter
293c1b8e6e
add applications field to app_info to track all deps of an application
10 年前
Tristan Sloughter
71de52cb9d
fix callback r14 support
10 年前
Tristan Sloughter
8635beffc1
catch error on multiplpe app files in an app dir
10 年前
Tristan Sloughter
1d5703025c
fix default release output dir to _rel
10 年前
Tristan Sloughter
926e550f3b
update package index fetching
10 年前