forked from esl/logger_graylog_backend
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmix.exs
More file actions
49 lines (44 loc) · 913 Bytes
/
mix.exs
File metadata and controls
49 lines (44 loc) · 913 Bytes
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
defmodule LoggerGraylogBackend.MixProject do
use Mix.Project
def project do
[
app: :logger_graylog_backend,
version: "0.1.0",
elixir: "~> 1.4",
start_permanent: Mix.env() == :prod,
deps: deps(),
name: "LoggerGraylogBackend",
source_url: "https://github.com/esl/logger_graylog_backend",
docs: docs(),
preferred_cli_env: preferred_cli_env()
]
end
def application do
[
extra_applications: [:logger]
]
end
defp deps do
[
{:ex_doc, "~> 0.18", only: :docs, runtime: false},
{:dialyxir, "~> 0.5", only: :test, runtime: false},
{:jason, "~> 1.0"},
{:optium, "~> 0.3"},
{:backoff, "~> 1.1"}
]
end
defp docs do
[
main: "README",
extras: [
"README.md"
]
]
end
defp preferred_cli_env() do
[
docs: :docs,
dialyzer: :test
]
end
end