summaryrefslogtreecommitdiff
path: root/src/rebar_hooks.erl
Commit message (Collapse)AuthorAgeFilesLines
* don't needlessly update the code path twice if no hooks to runTristan Sloughter2016-05-161-12/+16
|
* Merge branch 'state' of https://github.com/saleyn/rebar3 into saleyn-stateFred Hebert2016-03-011-0/+1
|\
| * Add a state display providerSerge Aleynikov2016-02-081-0/+1
| | | | | | | | | | | | | | The provider is used for debugging to help displaying current rebar's state. Usage: rebar3 state
* | in providers that don't run per app run all available hooksTristan Sloughter2016-02-281-0/+6
|/
* add ERLANG_ARCH and ERLANG_TARGET to os env for hooksTristan Sloughter2015-10-051-1/+4
|
* support updating of per app info by hooksTristan Sloughter2015-09-061-8/+10
|
* hooks/artifacts are always run/resolved from an app unless at top of umbrellaTristan Sloughter2015-09-061-1/+1
|
* add current_app attribute for setting before calling hooksTristan Sloughter2015-09-041-2/+3
|
* move opts functions to new module rebar_optsTristan Sloughter2015-09-011-2/+2
|
* more cleanupTristan Sloughter2015-08-311-1/+0
|
* update use of hooks and plugins with state in app_infoTristan Sloughter2015-08-311-19/+19
|
* wip: move state into app_infoTristan Sloughter2015-08-311-19/+24
|
* don't run unnecessary code if hooks are empty listTristan Sloughter2015-07-071-19/+28
|
* fix for overrides in plugins, simpler plugin state handlingTristan Sloughter2015-06-241-0/+1
|
* add debug statement of failed hook to help plugin buildersTristan Sloughter2015-06-201-0/+2
|
* Add error message for bad provider hook, fixes #521Tristan Sloughter2015-06-191-10/+19
|
* Export following env vars when running hooks:Jean Parpaillon2015-06-151-1/+56
| | | | | | | | | | | | | | | | | | | | | | | | REBAR_DEPS_DIR = rebar_dir:deps_dir/1 REBAR_BUILD_DIR = rebar_dir:base_dir/1 REBAR_ROOT_DIR = rebar_dir:root_dir/1 REBAR_CHECKOUTS_DIR = rebar_dir:checkouts_dir/1 REBAR_PLUGINS_DIR = rebar_dir:plugins_dir/1 REBAR_GLOBAL_CONFIG_DIR = rebar_dir:global_config_dir/1 REBAR_GLOBAL_CACHE_DIR = rebar_dir:global_cache_dir/1 REBAR_TEMPLATE_DIR = rebar_dir:template_dir/1 REBAR_APP_DIRS = rebar_dir:lib_dirs/1 REBAR_SRC_DIRS = rebar_dir:src_dirs/1 autoconf compatible variables (see: http://www.gnu.org/software/autoconf/manual/autoconf.html#Erlang-Libraries): ERLANG_ERTS_VER = erlang:system_info(version) ERLANG_ROOT_DIR = code:root_dir/0 ERLANG_LIB_DIR_erl_interface = code:lib_dir(erl_interface) ERLANG_LIB_VER_erl_interface = version part of path returned by code:lib_dir(erl_interface) ERL = ERLANG_ROOT_DIR/bin/erl ERLC = ERLANG_ROOT_DIR/bin/erl Export env var REBAR_BUILD_DIR in hooks, as rebar_dir:base_dir/1
* store plugin providers in app_info's state for depsTristan Sloughter2015-05-281-1/+3
|
* fix for plugin installation and code pathsTristan Sloughter2015-05-271-1/+5
|
* install dep plugins & run provider hooks the same as shell hooksTristan Sloughter2015-04-041-3/+24
|
* output hook stdout and don't add extra newlineTristan Sloughter2015-02-231-1/+1
|
* fix for rebar deps dir path in hooks, making it absoluteTristan Sloughter2015-01-241-1/+1
|
* move dir functions from utils to new module rebar_dirTristan Sloughter2014-12-011-1/+1
|
* wip: profilesTristan Sloughter2014-11-291-1/+1
|
* set REBAR_DEPS_DIR in hooks env and run pre_compile hooks before deps compileTristan Sloughter2014-11-221-2/+3
|
* add rebar_hooks moduleTristan Sloughter2014-11-021-0/+24