-
Notifications
You must be signed in to change notification settings - Fork 24
/
mix.exs
50 lines (44 loc) · 1004 Bytes
/
mix.exs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
defmodule PhoenixView.MixProject do
use Mix.Project
@version "2.0.4"
@source_url "https://github.com/phoenixframework/phoenix_view"
def project do
[
app: :phoenix_view,
version: @version,
elixir: "~> 1.9",
description: "The view layer in Phoenix v1.0-v1.6 apps",
docs: docs(),
deps: deps(),
package: package()
]
end
def application do
[
extra_applications: [:eex]
]
end
defp docs do
[
main: "Phoenix.View",
source_url: @source_url,
source_ref: "v#{@version}",
extras: ["CHANGELOG.md"]
]
end
defp deps do
[
{:phoenix_html, "~> 2.14.2 or ~> 3.0 or ~> 4.0", optional: true},
{:phoenix_template, "~> 1.0"},
{:jason, "~> 1.0", only: :test},
{:ex_doc, "~> 0.22", only: :docs}
]
end
defp package do
[
maintainers: ["Chris McCord", "José Valim", "Gary Rennie"],
licenses: ["MIT"],
links: %{"GitHub" => @source_url}
]
end
end