-
Notifications
You must be signed in to change notification settings - Fork 0
/
mix.exs
59 lines (54 loc) · 1.34 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 Logbook.MixProject do
@moduledoc false
use Mix.Project
def project do
[
app: :logbook,
docs: docs(),
package: package(),
description: "A tag based Logger wrapper",
source_url: "https://github.com/VoiSmart/logbook",
homepage_url: "https://github.com/VoiSmart/logbook",
version: "2.0.3",
elixir: "~> 1.11",
elixirc_options: [warnings_as_errors: true],
start_permanent: Mix.env() == :prod,
deps: deps(),
test_coverage: [tool: ExCoveralls],
preferred_cli_env: [
coveralls: :test,
"coveralls.detail": :test,
"coveralls.post": :test,
"coveralls.html": :test
]
]
end
def application do
[
extra_applications: [:logger],
mod: {Logbook.Application, []}
]
end
defp package do
[
mantainers: ["Matteo Brancaleoni"],
licenses: ["Apache-2.0"],
links: %{"GitHub" => "https://github.com/VoiSmart/logbook"}
]
end
defp docs do
[
main: "Logbook"
]
end
defp deps do
[
{:benchee, "~> 1.1", only: :dev},
{:stream_data, "~> 0.5", only: :test},
{:credo, "~> 1.6", only: [:dev, :test]},
{:dialyxir, "~> 1.2", only: [:dev, :test], runtime: false},
{:excoveralls, "~> 0.15", only: :test},
{:ex_doc, "~> 0.29", only: :dev}
]
end
end