forked from TheRealReal/new-relixir
-
Notifications
You must be signed in to change notification settings - Fork 0
/
mix.exs
48 lines (43 loc) · 1.08 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 NewRelixir.Mixfile do
use Mix.Project
def project do
[
app: :new_relixir,
name: "New Relixir",
version: "0.4.8",
elixir: "~> 1.5",
description: "New Relic tracking for Phoenix and Plug applications.",
package: package(),
source_url: "https://github.com/TheRealReal/new-relixir",
build_embedded: Mix.env == :prod,
start_permanent: Mix.env == :prod,
aliases: aliases(),
deps: deps()
]
end
def application do
[
mod: {NewRelixir.Application, []},
extra_applications: [:logger]
]
end
defp deps do
[
{:ecto, "~> 2.0", runtime: false},
{:ex_doc, "~> 0.16", only: :dev},
{:hackney, "~> 1.12"},
{:dialyxir, "~> 0.5", only: [:dev], runtime: false},
{:phoenix, "~> 1.3", runtime: false}
]
end
defp package do
[
maintainers: ["Fredrik Björk", "Robert Zotter", "Coburn Berry"],
licenses: ["MIT"],
links: %{"GitHub" => "https://github.com/TheRealReal/new-relixir"}
]
end
defp aliases do
["test": ["test --no-start"]]
end
end