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
pull/3399/head
Stu Tomlinson 2 years ago
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…
Cancel
Save