~ihabunek/triglav

d2903859d91ef7afbf40ed72e525ba9b720d6d38 — Ivan Habunek 8 months ago 19a7217
Add release command for re-validating routes
1 files changed, 5 insertions(+), 0 deletions(-)

M lib/triglav/release.ex
M lib/triglav/release.ex => lib/triglav/release.ex +5 -0
@@ 35,6 35,11 @@ defmodule Triglav.Release do
    Triglav.Import.Osmosis.update()
  end

  def validate_routes do
    start_repo()
    Mix.Tasks.Triglav.ValidateRoutes.validate()
  end

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