summaryrefslogtreecommitdiff
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* Merge pull request #36 from tsloughter/config_readingTristan Sloughter2014-12-052-18/+4
|\ | | | | only read in rebar config and lock of dep if needed
| * only read in rebar config and lock of dep if neededTristan Sloughter2014-12-042-18/+4
| |
* | Handle more ct_run return values.omarkj2014-12-041-5/+21
|/
* Merge pull request #32 from rebar/plugin-apiTristan Sloughter2014-12-021-0/+31
|\ | | | | API for Plugins (solves #22)
| * API for Plugins (solves #22)Fred Hebert2014-12-011-0/+31
| | | | | | | | | | - includes logging macros and turns them to functions - exports customized types
* | set current_profile to default after checking global pluginsTristan Sloughter2014-12-021-1/+1
| |
* | add rebar_dirTristan Sloughter2014-12-021-0/+104
| |
* | move dir functions from utils to new module rebar_dirTristan Sloughter2014-12-0121-147/+46
| |
* | move deps_to_build out of config dict of stateTristan Sloughter2014-12-013-3/+14
| |
* | remove unneeded add path that breaks with apps/ dir as wellTristan Sloughter2014-12-011-1/+0
| |
* | do not erase deps from optsTristan Sloughter2014-12-011-1/+1
| |
* | fixes for dialyzer findingsTristan Sloughter2014-11-308-63/+43
| |
* | switch to REBAR_DEFAULT_PROFILE to make it clear the profile becomes the ↵Tristan Sloughter2014-11-301-1/+1
| | | | | | | | default for the run
* | add use of REBAR_PROFILE os var to set default profileTristan Sloughter2014-11-303-19/+37
| |
* | only apply profiles to defaultTristan Sloughter2014-11-302-9/+15
| |
* | fix handle_deps when no deps are to be fetchedTristan Sloughter2014-11-292-2/+1
| |
* | global plugins install to global config directoryTristan Sloughter2014-11-296-20/+38
| |
* | fix lock provider to work anytime it is runTristan Sloughter2014-11-296-154/+138
| |
* | wip: profilesTristan Sloughter2014-11-2913-166/+215
|/
* properly escape pathsTristan Sloughter2014-11-271-6/+6
|
* Transform silent_connections well and parseomarkj2014-11-261-2/+2
| | | | | | verbosity. Verbosity can be a integer but I am parsing it as a term. This will work for integers as well as terms.
* Correctly parse create_priv_dir.omarkj2014-11-261-1/+1
|
* Return errors when tests fail.omarkj2014-11-261-5/+12
|
* Validate the input as it comes in from theomarkj2014-11-261-40/+95
| | | | | command line by converting things to atoms and splitting up strings where needed.
* move rebar.hrl to src to keep private, not for use in pluginsTristan Sloughter2014-11-241-0/+45
|
* Drop search for templates in cwdFred Hebert2014-11-231-2/+1
| | | | | | | | | | | | 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.
* rename functions to be clearerTristan Sloughter2014-11-223-11/+15
|
* fix git resource update check, bad url comparisonTristan Sloughter2014-11-221-14/+27
|
* use digraph topo sort for buildingTristan Sloughter2014-11-224-215/+50
|
* include initial verticies in solution listTristan Sloughter2014-11-221-3/+4
|
* replace rlx_depsolver types with new package typesTristan Sloughter2014-11-222-17/+6
|
* replace rlx_depsolver use with new rebar_digraphTristan Sloughter2014-11-226-84/+113
|
* new dep graph workingTristan Sloughter2014-11-225-83/+109
|
* set REBAR_DEPS_DIR in hooks env and run pre_compile hooks before deps compileTristan Sloughter2014-11-222-4/+5
|
* fix check for plugin being a providerTristan Sloughter2014-11-221-1/+1
|
* Fix printing of dialyzer warningsJames Fish2014-11-221-1/+1
| | | | | Fixes cases where dialyzer warning might include a `~` causing printing to console to fail with `badarg`.
* Fix dialyzer to work on rebarJames Fish2014-11-221-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 pltJames Fish2014-11-211-3/+8
|
* Cleanup dialyzer providerJames Fish2014-11-211-37/+38
|
* Add crypto to base plt by defaultJames Fish2014-11-211-0/+1
|
* Clarify how apps are selected for the plt filesJames Fish2014-11-211-4/+6
|
* Introduce dialyzer otp versioned plts and base pltsJames Fish2014-11-201-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 useJames Fish2014-11-201-11/+36
| | | | | | * Add description * Make configuration constitent (prefix with dialyzer_) * Make printed info consistent
* Add options to skip updating plt or success typingJames Fish2014-11-201-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 dependenciesJames Fish2014-11-201-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 errorsJames Fish2014-11-201-1/+9
| | | | Strip ":0: " from unknown type/function/behaviour warnings
* Refactor dialyzer PLT useJames Fish2014-11-201-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 warningsJames Fish2014-11-201-9/+1
| | | | | | | * Nolonger supress standard warnings * Nolonger include race_conditions by default[1] [1] http://erlang.org/pipermail/erlang-bugs/2014-July/004518.html
* add included applications to app_info applications elementTristan Sloughter2014-11-191-1/+2
|
* add applications field to app_info to track all deps of an applicationTristan Sloughter2014-11-192-3/+15
|