-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathmix.exs
More file actions
50 lines (46 loc) · 1.43 KB
/
mix.exs
File metadata and controls
50 lines (46 loc) · 1.43 KB
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
defmodule EctoLoggerJson.Mixfile do
use Mix.Project
def project do
[
app: :ecto_logger_json,
build_embedded: Mix.env == :prod,
deps: deps(),
dialyzer: [
plt_add_deps: true,
plt_file: ".local.plt"
],
description: "Overrides Ecto's LogEntry to format ecto logs as json",
docs: [extras: ["README.md"]],
elixir: "~> 1.2",
homepage_url: "https://github.com/bleacherreport/ecto_logger_json",
name: "Ecto Logger JSON",
package: package(),
preferred_cli_env: ["coveralls": :test, "coveralls.detail": :test, "coveralls.post": :test, "coveralls.html": :test],
source_url: "https://github.com/bleacherreport/ecto_logger_json",
start_permanent: Mix.env == :prod,
test_coverage: [tool: ExCoveralls],
version: "0.1.0",
]
end
def application do
[applications: [:logger]]
end
defp deps do
[
{:credo, "~> 0.5", only: [:dev]},
{:dialyxir, "~> 0.4", only: [:dev]},
{:earmark, "~> 1.0", only: [:dev]},
{:ex_doc, "~> 0.14", only: [:dev]},
{:excoveralls, "~> 0.6", only: [:test]},
{:poison, "~> 1.5 or ~> 2.0 or ~> 3.0"}
]
end
defp package do
[
files: ["lib", "mix.exs", "README*", "LICENSE*"],
licenses: ["Apache 2.0"],
links: %{"GitHub" => "https://github.com/bleacherreport/ecto_logger_json"},
maintainers: ["John Kelly"]
]
end
end