-
Notifications
You must be signed in to change notification settings - Fork 1
/
mix.exs
48 lines (44 loc) · 1.26 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 Jabbax.Mixfile do
use Mix.Project
def project do
[
app: :jabbax,
version: "1.0.2",
elixir: "~> 1.4",
build_embedded: Mix.env() == :prod,
start_permanent: Mix.env() == :prod,
deps: deps(),
description: "JSON API Building Blocks Assembly for Elixir",
source_url: "https://github.com/surgeventures/jabbax",
homepage_url: "https://github.com/surgeventures/jabbax",
package: package(),
dialyzer: [
plt_add_apps: [:ex_unit, :plug],
plt_add_deps: :app_tree,
plt_file: {:no_warn, "priv/plts/dialyzer.plt"}
]
]
end
defp package do
[
licenses: ["MIT"],
links: %{
"GitHub" => "https://github.com/surgeventures/jabbax",
"Fresha" => "https://www.fresha.com"
},
files: ~w(mix.exs lib LICENSE README.md)
]
end
def application do
[extra_applications: [:logger], env: [json_encoder: Poison, json_decoder: Poison]]
end
defp deps do
[
{:credo, "~> 1.5", only: [:dev, :test], runtime: false},
{:ex_doc, ">= 0.0.0", only: :dev, runtime: false},
{:dialyxir, "~> 1.0", only: [:dev, :test], runtime: false},
{:plug, "~> 1.12", optional: true},
{:poison, "~> 3.0", optional: true}
]
end
end