~ihabunek/triglav

f35d1434f1016a496cb29951863f1e0f5c120de0 — Ivan Habunek 3 months ago 59770cd
Add release function for regenerating derived data
1 files changed, 5 insertions(+), 0 deletions(-)

M lib/triglav/release.ex
M lib/triglav/release.ex => lib/triglav/release.ex +5 -0
@@ 42,6 42,11 @@ defmodule Triglav.Release do
    Mix.Tasks.Triglav.ValidateRoutes.run([])
  end

  def generate_derived_data do
    load_app()
    Mix.Tasks.Triglav.GenerateDerivedData.run([])
  end

  defp repos do
    Application.fetch_env!(@app, :ecto_repos)
  end