cada669071
- Don't allow htm to take safe option - Always escape calls to `text`
32 lines
665 B
Elixir
32 lines
665 B
Elixir
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]
|
|
]
|
|
end
|
|
|
|
# Run "mix help deps" to learn about dependencies.
|
|
defp deps do
|
|
[
|
|
{:phoenix_html, "~> 2.13"}
|
|
]
|
|
end
|
|
end
|