diff options
author | Tristan Sloughter <t@crashfast.com> | 2016-02-16 11:51:17 -0600 |
---|---|---|
committer | Tristan Sloughter <t@crashfast.com> | 2016-02-16 11:51:17 -0600 |
commit | 44ebce927f37f23ce71d6db155102e87a6fab65a (patch) | |
tree | fe1d868a2c8f3c8c632901d81866b682ceaf385c /src/rebar_relx.erl | |
parent | b8a590cf192181170d5fdab40652340917ba3905 (diff) | |
parent | 4a5c8bc0e3c5c0ba062d92e44b4bb627ac9d8af5 (diff) |
Merge pull request #902 from project-fifo/less-color
Less color
Diffstat (limited to 'src/rebar_relx.erl')
-rw-r--r-- | src/rebar_relx.erl | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/rebar_relx.erl b/src/rebar_relx.erl index 5d29258..45e1c96 100644 --- a/src/rebar_relx.erl +++ b/src/rebar_relx.erl @@ -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), |