Przeglądaj źródła

Set relx color intensity env variable

pull/902/head
Heinz N. Gies 9 lat temu
rodzic
commit
4a5c8bc0e3
1 zmienionych plików z 2 dodań i 0 usunięć
  1. +2
    -0
      src/rebar_relx.erl

+ 2
- 0
src/rebar_relx.erl Wyświetl plik

@ -14,6 +14,8 @@
-spec do(atom(), string(), atom(), rebar_state:t()) -> {ok, rebar_state:t()} | {error, string()}.
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),
DepsDir = rebar_dir:deps_dir(State),
ProjectAppDirs = lists:delete(".", ?DEFAULT_PROJECT_APP_DIRS),

Ładowanie…
Anuluj
Zapisz