-
Notifications
You must be signed in to change notification settings - Fork 34
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 PlugLoggerJson.Mixfile do
use Mix.Project
def project do
[
app: :plug_logger_json,
build_embedded: Mix.env() == :prod,
deps: deps(),
dialyzer: [
plt_add_deps: true
],
description: "Elixir Plug that formats http request logs as json",
docs: [extras: ["README.md"]],
elixir: "~> 1.3",
homepage_url: "https://github.com/bleacherreport/plug_logger_json",
name: "Plug Logger JSON",
package: package(),
preferred_cli_env: [coveralls: :test, "coveralls.detail": :test, "coveralls.post": :test, "coveralls.html": :test],
source_url: "https://github.com/bleacherreport/plug_logger_json",
start_permanent: Mix.env() == :prod,
test_coverage: [tool: ExCoveralls],
version: "0.7.0"
]
end
def application do
[applications: [:logger, :plug]]
end
defp deps do
[
{:credo, "~> 1.0.2", only: [:dev]},
{:dialyxir, "~> 0.5.1", only: [:dev]},
{:earmark, "~> 1.3.1", only: [:dev]},
{:ex_doc, "~> 0.19.3", only: [:dev]},
{:excoveralls, "~> 0.10.5", only: [:test]},
{:plug, "~> 1.0"},
{:poison, "~> 1.5 or ~> 2.0 or ~> 3.0 or ~> 4.0"}
]
end
defp package do
[
files: ["lib", "mix.exs", "README*", "LICENSE*"],
licenses: ["Apache 2.0"],
links: %{"GitHub" => "https://github.com/bleacherreport/plug_logger_json"},
maintainers: ["John Kelly, Ben Marx"]
]
end
end