~fancycade/rebar3_tailwind

66837342d002e3b1ea4eb6be220aa69f38a9d248 — Harley Swick 9 months ago 966f23c
Dont log input and output
1 files changed, 0 insertions(+), 2 deletions(-)

M src/rebar3_tailwind_prv.erl
M src/rebar3_tailwind_prv.erl => src/rebar3_tailwind_prv.erl +0 -2
@@ 56,13 56,11 @@ tailwind_compile(Opts) ->
	    {input, Input} -> Input;
	    none -> "priv/input.css"
	end,
    io:format("~p~n", [InputSrc]),
    OutputDst =
	case proplists:lookup(output, Opts) of
	    {output, Output} -> Output;
	    none -> "priv/output.css"
	end,
    io:format("~p~n", [OutputDst]),
    Cmd = io_lib:format("npx tailwindcss -i ~s -o ~s", [InputSrc, OutputDst]),
    os:cmd(Cmd),
    ok.