defmodule Dsl.MixProject do
use Mix.Project
def project do
[
app: :dsl,
version: "0.1.0",
elixirc_paths: elixirc_paths(Mix.env()),
elixir: "~> 1.8",
start_permanent: Mix.env() == :prod,
deps: deps()
]
end
# Specifies which paths to compile per environment.
defp elixirc_paths(:test), do: ["lib", "test/support"]
defp elixirc_paths(_), do: ["lib"]
# Run "mix help compile.app" to learn about applications.
def application do
extra_applications: [:logger]
# Run "mix help deps" to learn about dependencies.
defp deps do
{:phoenix_html, "~> 2.13"},
{:phoenix, "~> 1.4", optional: true},
{:dialyxir, "~> 1.0.0-rc.6", only: [:dev], runtime: false}