-
Notifications
You must be signed in to change notification settings - Fork 0
/
mix.exs
57 lines (51 loc) · 1.56 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
52
53
54
55
56
57
defmodule AbsintheExtra.MixProject do
use Mix.Project
def project do
[
app: :absinthe_extra,
version: "0.1.15",
deps: deps(),
docs: [main: "readme", extras: ["README.md"]],
description: description(),
elixir: "~> 1.11",
elixirc_paths: elixirc_paths(Mix.env()),
package: package(),
name: "AbsintheExtra",
source_url: "https://github.com/s-spica/absinthe_extra",
homepage_url: "https://github.com/s-spica/absinthe_extra",
start_permanent: Mix.env() == :prod,
test_coverage: [tool: ExCoveralls]
]
end
def application do
[extra_applications: [:logger]]
end
defp description do
"AbsintheExtra is a extra tool for absinthe"
end
defp elixirc_paths(:test), do: ["lib", "test/support"]
defp elixirc_paths(_), do: ["lib"]
defp package() do
[
name: "absinthe_extra",
files: ~w(lib .formatter.exs mix.exs README*),
licenses: ["MIT"],
links: %{"GitHub" => "https://github.com/s-spica/absinthe_extra"}
]
end
defp deps do
[
{:absinthe, "~> 1.6"},
{:absinthe_relay, "~> 1.5.0"},
{:absinthe_phoenix, "~> 2.0"},
{:joken, "~> 2.6", only: [:dev, :test], runtime: false},
{:dialyxir, "~> 1.1", only: [:dev, :test], runtime: false},
{:credo, "~> 1.6", only: [:dev, :test], runtime: false},
{:ex_doc, "~> 0.26", only: :dev, runtime: false},
{:excoveralls, "~> 0.10", only: :test},
{:inch_ex, "~> 0.1", only: [:dev, :test], runtime: false},
{:jason, "~> 1.2"},
{:phoenix, "~> 1.6"}
]
end
end