mirror of
https://github.com/fly-apps/live_beats.git
synced 2024-05-03 09:58:48 +00:00
14 lines
297 B
Elixir
14 lines
297 B
Elixir
defmodule LiveBeats.Tailwind do
|
|
def run(args) do
|
|
opts = [
|
|
cd: IO.inspect(Path.join(File.cwd!(), "assets")),
|
|
into: IO.stream(:stdio, :line),
|
|
stderr_to_stdout: true
|
|
]
|
|
|
|
Path.expand("assets/tailwindcss-macos-x64")
|
|
|> System.cmd(args, opts)
|
|
|> elem(1)
|
|
end
|
|
end
|