diff options
author | Jean Parpaillon <jean.parpaillon@free.fr> | 2015-06-10 15:42:53 +0200 |
---|---|---|
committer | Jean Parpaillon <jean.parpaillon@free.fr> | 2015-06-15 17:14:40 +0200 |
commit | 4158595d4a6d41fac1ece19ff1237e54983314e7 (patch) | |
tree | d3e31e2c185d33c56da09e1f25c385ca75c71a11 /test/rebar_disable_app_SUITE.erl | |
parent | 1972f1f85a25e15ccf13a6400dcb48183ae63624 (diff) |
Export following env vars when running hooks:
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
Diffstat (limited to 'test/rebar_disable_app_SUITE.erl')
0 files changed, 0 insertions, 0 deletions