summaryrefslogtreecommitdiff
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
...
* 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
|
* fix callback r14 supportTristan Sloughter2014-11-181-1/+1
|
* catch error on multiplpe app files in an app dirTristan Sloughter2014-11-162-7/+20
|
* fix default release output dir to _relTristan Sloughter2014-11-152-2/+2
|
* update package index fetchingTristan Sloughter2014-11-151-7/+2
|
* write packages file to tmp so a lost connection doesn't mean corruptionTristan Sloughter2014-11-151-2/+5
|
* Minor template fixesFred Hebert2014-11-141-1/+1
| | | | | | - The OTP app template now adds the supevisor - The default apps_dir value does not contain the trailing '/' that the template index already added.
* add cleanup_code_path back to rebar_utils for eunit providerTristan Sloughter2014-11-141-1/+16
|
* use CONFIG_DIR of rebar3 for config directoriesTristan Sloughter2014-11-106-11/+18
|
* First unkeyed var is now 'name', appid -> nameFred Hebert2014-11-111-1/+9
| | | | | | | 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.
* Allow to forcibly overwrite files with templatesFred Hebert2014-11-112-33/+44
|
* Redo templates with docs and whatnotFred Hebert2014-11-102-292/+254
| | | | | This totally breaks compatibility with rebar2, and maybe it shouldn't have.
* move back to using format_error/1Tristan Sloughter2014-11-0922-91/+95
|
* add deps pltTristan Sloughter2014-11-091-6/+8
|
* strip newline from end of dialyzer format warningsTristan Sloughter2014-11-081-1/+2
|
* add dialyzer providerTristan Sloughter2014-11-083-1/+108
|
* update package update providerTristan Sloughter2014-11-081-7/+8
|
* pass deps dir of project to relxTristan Sloughter2014-11-082-4/+6
|
* main module cleanupTristan Sloughter2014-11-081-42/+42
|
* fix warning/error compilation outputTristan Sloughter2014-11-081-4/+4
|
* prepend base_dir when expanding code pathTristan Sloughter2014-11-081-2/+3
|
* add plugin and its deps to path as they are builtTristan Sloughter2014-11-081-4/+6
|