forked from khusnetdinov/phoenix_gon
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmix.exs
48 lines (43 loc) · 1.07 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
defmodule PhoenixGon.Mixfile do
use Mix.Project
def project do
[
app: :phoenix_gon_fork,
version: "0.5.1",
elixir: "~> 1.4",
build_embedded: Mix.env() == :prod,
start_permanent: Mix.env() == :prod,
description: description(),
package: package(),
deps: deps(),
source_url: "https://github.com/defaulterr0r/phoenix_gon_fork"
]
end
def application do
[applications: [:logger]]
end
defp description do
"""
PhoenixGonFork hex - your Phoenix variables in your JavaScript.
Without problems with releases now (because no Mix.env() check in runtime).
"""
end
defp package do
[
name: :phoenix_gon_fork,
files: ~w{lib} ++ ~w{mix.exs README.md},
maintainers: ["defaulterr0r"],
licenses: ["MIT"],
links: %{"GitHub" => "https://github.com/defaulterr0r/phoenix_gon_fork"}
]
end
defp deps do
[
{:ex_doc, ">= 0.0.0", only: :dev},
{:jason, "~> 1.0"},
{:phoenix_html, "~> 2.11"},
{:plug, "~> 1.7"},
{:recase, "~> 0.6"}
]
end
end