-
Notifications
You must be signed in to change notification settings - Fork 33
/
mix.exs
51 lines (45 loc) · 1.12 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
defmodule JaResource.Mixfile do
use Mix.Project
def project do
[
app: :ja_resource,
version: "0.3.2",
elixir: "~> 1.2",
build_embedded: Mix.env() == :prod,
start_permanent: Mix.env() == :prod,
source_url: "https://github.com/vt-elixir/ja_resource",
package: package(),
description: description(),
deps: deps()
]
end
# Configuration for the OTP application
def application do
[applications: [:logger, :phoenix]]
end
defp deps do
[
{:ecto, "~> 3.0"},
{:plug, "~> 1.2"},
{:phoenix, "~> 1.1"},
{:ja_serializer, "~> 0.9"},
{:earmark, "~> 1.0.1", only: :dev},
{:ex_doc, "~> 0.13", only: :dev}
]
end
defp package do
[
licenses: ["Apache 2.0"],
maintainers: ["Alan Peabody", "Pete Brown"],
links: %{
"GitHub" => "https://github.com/vt-elixir/ja_resource"
}
]
end
defp description do
"""
A behaviour for defining JSON-API spec controllers in Phoenix.
Lets you focus on your data, not on boilerplate controller code. Like Webmachine for Phoenix.
"""
end
end