-
Notifications
You must be signed in to change notification settings - Fork 0
/
mix.exs
67 lines (59 loc) · 1.28 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
60
61
62
63
64
65
66
67
defmodule Circe.MixProject do
use Mix.Project
def version, do: "0.2.1"
def project do
[
app: :circe,
version: version(),
elixir: "~> 1.11",
start_permanent: Mix.env() == :prod,
description: description(),
package: package(),
source_url: git_repository(),
deps: deps(),
docs: docs(),
elixirc_options: [warnings_as_errors: true],
]
end
# Run "mix help compile.app" to learn about applications.
def application do
[
extra_applications: [:logger]
]
end
# Run "mix help deps" to learn about dependencies.
defp deps do
[
{:ex_doc, "~> 0.24", only: :dev, runtime: false},
]
end
defp description do
"""
Tools to ease the manipulation of AST
"""
end
defp package do
[
licenses: ["MIT"],
links: %{
"GitHub" => git_repository(),
"Changelog" => "https://hexdocs.pm/circe/changelog.html",
},
]
end
def docs do
[
extras: [
"CHANGELOG.md": [title: "Changelog"],
"README.md": [title: "Overview"],
],
api_reference: false,
main: "readme",
source_url: git_repository(),
source_ref: "v#{version()}",
]
end
defp git_repository do
"https://github.com/Shakadak/circe.ex"
end
end