This repository has been archived on 2023-08-07. You can view files and clone it, but cannot push or open issues or pull requests.
temple/mix.exs

45 lines
1.1 KiB
Elixir
Raw Normal View History

2019-04-15 01:44:39 +00:00
defmodule Dsl.MixProject do
use Mix.Project
def project do
[
app: :dsl,
version: "0.1.0",
elixirc_paths: elixirc_paths(Mix.env()),
2019-04-15 01:44:39 +00:00
elixir: "~> 1.8",
start_permanent: Mix.env() == :prod,
2019-05-09 02:06:44 +00:00
deps: deps(),
name: "Dsl",
source_url: "https://github.com/mhanberg/cogent",
docs: [
main: "Dsl",
extras: ["README.md"]
],
dialyzer: [plt_add_apps: [:mix, :phoenix, :html_sanitize_ex]]
2019-04-15 01:44:39 +00:00
]
end
# Specifies which paths to compile per environment.
defp elixirc_paths(:test), do: ["lib", "test/support"]
defp elixirc_paths(_), do: ["lib"]
2019-04-15 01:44:39 +00:00
# Run "mix help compile.app" to learn about applications.
def application do
[
extra_applications: [:logger]
]
end
# Run "mix help deps" to learn about dependencies.
defp deps do
[
2019-04-29 02:25:57 +00:00
{:phoenix_html, "~> 2.13"},
2019-05-09 02:06:44 +00:00
{:ex_doc, "~> 0.0", only: [:dev], runtime: false},
{:html_sanitize_ex, "~> 1.3", only: [:dev], runtime: false},
2019-04-29 02:25:57 +00:00
{:phoenix, "~> 1.4", optional: true},
2019-05-09 02:06:44 +00:00
{:plug, "~> 1.8", optional: true},
2019-04-29 02:25:57 +00:00
{:dialyxir, "~> 1.0.0-rc.6", only: [:dev], runtime: false}
2019-04-15 01:44:39 +00:00
]
end
end