-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathmix.exs
46 lines (41 loc) · 1020 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
defmodule PhoenixHTMLHelpers.Mixfile do
use Mix.Project
@source_url "https://github.com/phoenixframework/phoenix_html_helpers"
@version "1.0.0"
def project do
[
app: :phoenix_html_helpers,
version: @version,
elixir: "~> 1.7",
deps: deps(),
name: "PhoenixHTMLHelpers",
description: "Collection of helpers to generate and manipulate HTML contents",
package: package(),
docs: [
source_url: @source_url,
source_ref: "v#{@version}",
main: "PhoenixHTMLHelpers"
]
]
end
def application do
[
extra_applications: [:logger],
env: [csrf_token_reader: {Plug.CSRFProtection, :get_csrf_token_for, []}]
]
end
defp deps do
[
{:phoenix_html, "~> 4.0"},
{:plug, "~> 1.5", optional: true},
{:ex_doc, ">= 0.0.0", only: :docs}
]
end
defp package do
[
maintainers: ["Chris McCord", "José Valim"],
licenses: ["MIT"],
links: %{GitHub: @source_url}
]
end
end