-
Notifications
You must be signed in to change notification settings - Fork 220
/
mix.exs
52 lines (47 loc) · 1.19 KB
/
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
51
52
defmodule PhoenixHTML.Mixfile do
use Mix.Project
# Also change package.json version
@source_url "https://github.com/phoenixframework/phoenix_html"
@version "4.1.1"
def project do
[
app: :phoenix_html,
version: @version,
elixir: "~> 1.7",
deps: deps(),
name: "Phoenix.HTML",
description: "Phoenix view functions for working with HTML templates",
package: package(),
docs: [
extras: ["CHANGELOG.md"],
source_url: @source_url,
source_ref: "v#{@version}",
main: "Phoenix.HTML",
skip_undefined_reference_warnings_on: ["CHANGELOG.md"]
]
]
end
def application do
[
extra_applications: [:eex, :logger]
]
end
defp deps do
[
{:ex_doc, ">= 0.0.0", only: :docs},
{:makeup_eex, ">= 0.1.1", only: :docs},
{:makeup_diff, "~> 0.1", only: :docs}
]
end
defp package do
[
maintainers: ["Chris McCord", "José Valim"],
licenses: ["MIT"],
files: ~w(lib priv CHANGELOG.md LICENSE mix.exs package.json README.md),
links: %{
Changelog: "https://hexdocs.pm/phoenix_html/changelog.html",
GitHub: @source_url
}
]
end
end