-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmix.exs
59 lines (52 loc) · 1.36 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
58
59
defmodule JsonRfc.MixProject do
@moduledoc false
use Mix.Project
def project do
[
app: :jsonrfc,
version: "0.3.2",
elixir: "~> 1.10",
description: description(),
package: package(),
deps: deps(),
source_url: "https://github.com/lygaret/ex-jsonrfc",
dialyzer: dialyzer(),
docs: [
main: "readme",
extras: ["README.md"]
]
]
end
def application, do: []
defp deps do
[
{:espec, "~> 1.8.2", only: :test},
{:coverex, "~> 1.4.10", only: :test},
{:ex_doc, "~> 0.22", only: [:dev, :test], runtime: false},
{:dialyxir, "~> 1.0", only: [:dev, :test], runtime: false},
{:credo, "~> 1.4", only: [:dev, :test], runtime: false}
]
end
defp description,
do:
String.trim("""
Implementations of JSON RFC 6901 and 6902, Pointers and Patch respectively.
Pointer allows evaluating and transforming a JSON document at a given keypath.
Patch encodes operations that abstract pointer transformations.
""")
defp package() do
[
licenses: ["MIT"],
links: %{
"Github" => "https://github.com/lygaret/ex-jsonrfc",
"Homepage" => "https://accidental.cc"
}
]
end
defp dialyzer() do
[
plt_core_path: "priv/plts",
plt_file: {:no_warn, "priv/plts/dialyzer.plt"}
]
end
end