mirror of
https://github.com/processone/ejabberd.git
synced 2024-09-07 13:35:42 +02:00
Improve rebar3 configure-deps plugin output
Switch to using rebar_utils:sh/2 instead of os:cmd/1 to spawn ./configure so that output can be monitored and errors detected
This commit is contained in:
parent
d9cb6d1af7
commit
27ed8f5647
@ -31,8 +31,7 @@ do(State) ->
|
||||
{ok, State}.
|
||||
|
||||
exec_configure({'configure-deps', Cmd}, Dir) ->
|
||||
c:cd(Dir),
|
||||
os:cmd(Cmd);
|
||||
rebar_utils:sh(Cmd, [{cd, Dir}, {use_stdout, true}]);
|
||||
exec_configure(_, Acc) -> Acc.
|
||||
|
||||
parse_pre_hooks({pre_hooks, PreHooks}, Acc) ->
|
||||
|
Loading…
Reference in New Issue
Block a user