View Source mix compile.pyro (Pyro v0.0.2)

Generates several asset files to provide Pyro's CSS.

This automatically runs if you add it to the compilers as described below, but you could also run it manually.

setup

Setup

Update mix.exs, adding the :pyro compiler to the list of compilers:

def project do
  [
    ...,
    compilers: Mix.compilers() ++ [:pyro]
  ]
end

Then, update config/dev.exs to include :pyro in the list of :reloadable_compilers in your endpoint:

config :my_app, MyAppWeb.Endpoint,
  # ...
  reloadable_compilers: [:elixir, :app, :pyro],