~fancycade/rebar3_tailwind

6e40c2116e33b9d1976b6da4f22ca38691bf8a88 — Harley Swick 9 months ago 35b5807
Okay at end of compile
1 files changed, 3 insertions(+), 2 deletions(-)

M src/rebar3_tailwind_prv.erl
M src/rebar3_tailwind_prv.erl => src/rebar3_tailwind_prv.erl +3 -2
@@ 41,7 41,7 @@ do(State) ->
			      tailwind_compile(TailwindOpts)
		      end,

	 rebar_base_compiler:run(Opts, [], [], CompileFun)
	 rebar_base_compiler:run(Opts, [], [<<"tailwind">>], CompileFun)
      end || AppInfo <- Apps],
    {ok, State}.



@@ 63,4 63,5 @@ tailwind_compile(Opts) ->
	end,
    io:format("~p~n", [OutputDst]),
    Cmd = io_lib:format("npx tailwindcss -i ~s -o ~s > /dev/null", [InputSrc, OutputDst]),
    os:cmd(Cmd).
    os:cmd(Cmd),
    ok.