direnv: Also set REBAR_CACHE_DIR for Erlang
This commit is contained in:
parent
98d4333f3b
commit
392d99ddcc
1 changed files with 1 additions and 0 deletions
|
@ -13,6 +13,7 @@ project() {
|
||||||
project_erlang() {
|
project_erlang() {
|
||||||
export ERL_AFLAGS="-kernel shell_history enabled"
|
export ERL_AFLAGS="-kernel shell_history enabled"
|
||||||
|
|
||||||
|
export REBAR_CACHE_DIR=$(direnv_layout_dir)/rebar
|
||||||
export REBAR_GLOBAL_CONFIG_DIR=$(direnv_layout_dir)/rebar/config
|
export REBAR_GLOBAL_CONFIG_DIR=$(direnv_layout_dir)/rebar/config
|
||||||
export REBAR_GLOBAL_CACHE_DIR=$(direnv_layout_dir)/rebar/cache
|
export REBAR_GLOBAL_CACHE_DIR=$(direnv_layout_dir)/rebar/cache
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue