Переглянути джерело

Set relx color intensity env variable

pull/902/head
Heinz N. Gies 9 роки тому
джерело
коміт
4a5c8bc0e3
1 змінених файлів з 2 додано та 0 видалено
  1. +2
    -0
      src/rebar_relx.erl

+ 2
- 0
src/rebar_relx.erl Переглянути файл

@ -14,6 +14,8 @@
-spec do(atom(), string(), atom(), rebar_state:t()) -> {ok, rebar_state:t()} | {error, string()}. -spec do(atom(), string(), atom(), rebar_state:t()) -> {ok, rebar_state:t()} | {error, string()}.
do(Module, Command, Provider, State) -> do(Module, Command, Provider, State) ->
%% We set the color mode for relx as a application env
application:set_env(relx, color_intensity, rebar_log:intensity()),
Options = rebar_state:command_args(State), Options = rebar_state:command_args(State),
DepsDir = rebar_dir:deps_dir(State), DepsDir = rebar_dir:deps_dir(State),
ProjectAppDirs = lists:delete(".", ?DEFAULT_PROJECT_APP_DIRS), ProjectAppDirs = lists:delete(".", ?DEFAULT_PROJECT_APP_DIRS),

Завантаження…
Відмінити
Зберегти