# Generated by usvc-1.13.1
# Feel free to adjust, it will not be overridden

defmodule DefinitionValidator.Mixfile do
  use Mix.Project

  def project do
    [
     app: :definition_validator,
     version: "0.1.0",
     elixir: "~> 1.11",
     build_embedded: Mix.env == :prod,
     start_permanent: Mix.env == :prod,
     deps: deps(),
     aliases: aliases()
    ]
  end

  # Configuration for the OTP application
  #
  # Type "mix help compile.app" for more information
  def application do
     [
      extra_applications: [:logger, :runtime_tools],
      env: [mix_env: Mix.env()],
      mod: {DefinitionValidator.Application, []}
    ]
  end

  defp deps do
    [
      {:poison, "~> 3.1"},
      {:httpoison, "~> 0.11"},
      {:credo, "~> 1.4", only: [:dev, :test], runtime: false},
      {:mix_test_watch, "~> 1.1", only: :dev, runtime: false},
      {:yaml_elixir, "~> 1.1"},
      {:jesse, "~> 1.4.0"},
      {:spec, path: "../spec"},
      {:util, github: "renderedtext/elixir-util"},
      {:junit_formatter, "~> 3.1", only: [:dev, :test]}

    ]
  end

  defp aliases() do
    [
      "deps.local": ["local.hex --force", "local.rebar --force"],
      "deps.setup": ["deps.local", "deps.get"],
      setup: ["deps.setup"]
    ]
  end
end
