-
-
Notifications
You must be signed in to change notification settings - Fork 5
/
mix.exs
68 lines (62 loc) · 1.5 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
68
defmodule ExHealth.MixProject do
use Mix.Project
@source_url "https://github.com/Kartstig/ex_health"
@version "0.4.0"
def project do
[
app: :ex_health,
version: @version,
elixir: "~> 1.14",
start_permanent: Mix.env() == :prod,
test_coverage: [tool: ExCoveralls],
deps: deps(),
docs: docs(),
package: package()
]
end
def application do
[
mod: {ExHealth, []},
extra_applications: [:logger]
]
end
defp deps do
[
{:credo, "~> 1.7", only: [:dev, :test], runtime: false},
{:dialyxir, "~> 1.2", only: [:dev, :test], runtime: false},
{:excoveralls, "~> 0.16", only: [:dev, :test], runtime: false},
{:ex_doc, "~> 0.29", only: [:dev], runtime: false},
{:jason, "~> 1.4"},
{:plug, "~> 1.14"}
]
end
defp docs do
[
extras: [
"CHANGELOG.md",
"CONTRIBUTING.md",
{:"LICENSE.md", [title: "License"]},
"README.md"
],
main: "readme",
assets: "assets",
logo: "assets/logo.png",
homepage_url: "https://hexdocs.pm/ex_health",
source_url: @source_url,
source_ref: "v#{@version}",
formatters: ["html"]
]
end
defp package do
[
name: "ex_health",
description: "A health check utility for any OTP application",
licenses: ["MIT"],
maintainers: ["Herman Singh"],
links: %{
Changelog: "https://hexdocs.pm/ex_health/changelog.html",
GitHub: @source_url
}
]
end
end