forked from odogono/elixir-jsonpointer
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmix.exs
More file actions
59 lines (52 loc) · 1.26 KB
/
mix.exs
File metadata and controls
59 lines (52 loc) · 1.26 KB
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 JsonPointer.Mixfile do
use Mix.Project
@version "2.2.0"
def project do
[
app: :odgn_json_pointer,
name: "JSON Pointer",
version: @version,
description: description(),
package: package(),
deps: deps(),
docs: docs(),
elixir: "~> 1.6",
build_embedded: Mix.env() == :prod,
start_permanent: Mix.env() == :prod,
source_url: "https://github.com/odogono/elixir-jsonpointer"
]
end
# Configuration for the OTP application
#
# Type `mix help compile.app` for more information
def application do
[applications: [:logger]]
end
defp deps do
[
{:earmark, "~> 1.2.4", only: :dev, runtime: false},
{:ex_doc, "~> 0.18.3", only: :dev, runtime: false},
{:poison, "~> 3.1", only: :test}
]
end
defp description do
"""
This is an implementation of JSON Pointer (RFC 6901) for Elixir.
"""
end
defp package do
[
name: "odgn_json_pointer",
licenses: ["MIT"],
maintainers: ["Alexander Veenendaal"],
links: %{"GitHub" => "https://github.com/odogono/elixir-jsonpointer"},
files: ["lib", "mix.exs", "README.md", "LICENSE"]
]
end
defp docs do
[
main: "readme",
extras: ["README.md"]
]
end
end