-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathmix.exs
47 lines (41 loc) · 932 Bytes
/
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
defmodule LoggerBackends.MixProject do
use Mix.Project
@version "1.0.0"
@url "https://github.com/elixir-lang/logger_backends"
def project do
[
app: :logger_backends,
version: @version,
elixir: "~> 1.15-dev",
start_permanent: Mix.env() == :prod,
deps: deps(),
docs: docs(),
preferred_cli_env: [docs: :docs, "hex.publish": :docs],
# Hex
description: "Logger backends functionality for Elixir v1.15+",
package: [
maintainers: ["Elixir Team"],
licenses: ["Apache-2.0"],
links: %{"GitHub" => @url}
]
]
end
def application do
[
extra_applications: [:logger],
mod: {LoggerBackends.Application, []}
]
end
defp docs do
[
main: "LoggerBackends",
source_ref: "v#{@version}",
source_url: @url
]
end
defp deps do
[
{:ex_doc, "~> 0.28", only: :docs}
]
end
end