Tristan Sloughter
|
4bb2a0c710
|
Add error message for bad provider hook, fixes #521
|
10 년 전 |
Jean Parpaillon
|
4158595d4a
|
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
|
10 년 전 |
Tristan Sloughter
|
7d33dbf6aa
|
store plugin providers in app_info's state for deps
|
10 년 전 |
Tristan Sloughter
|
20f4562c6d
|
fix for plugin installation and code paths
|
10 년 전 |
Tristan Sloughter
|
459ff732a3
|
install dep plugins & run provider hooks the same as shell hooks
|
10 년 전 |
Tristan Sloughter
|
0c402a8293
|
output hook stdout and don't add extra newline
|
10 년 전 |
Tristan Sloughter
|
3a7490aa9f
|
fix for rebar deps dir path in hooks, making it absolute
|
10 년 전 |
Tristan Sloughter
|
8e5c916cb6
|
move dir functions from utils to new module rebar_dir
|
10 년 전 |
Tristan Sloughter
|
14cb6803e0
|
wip: profiles
|
10 년 전 |
Tristan Sloughter
|
e9b58f2775
|
set REBAR_DEPS_DIR in hooks env and run pre_compile hooks before deps compile
|
10 년 전 |
Tristan Sloughter
|
d549901de4
|
add rebar_hooks module
|
10 년 전 |