-
Notifications
You must be signed in to change notification settings - Fork 1
/
mix.exs
65 lines (58 loc) · 1.65 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
60
61
62
63
64
65
defmodule Pretty.MixProject do
use Mix.Project
@version "1.0.8"
def project do
[
app: :pretty,
deps: deps(),
description: "Inspect values with syntax colors despite your remote console.",
docs: docs(),
elixir: "~> 1.8",
elixirc_paths: elixirc_paths(Mix.env()),
homepage_url: "https://github.com/amplifiedai/pretty",
name: "Pretty",
package: package(),
preferred_cli_env: [coveralls: :test, "coveralls.html": :test, "coveralls.json": :test],
source_url: "https://github.com/amplifiedai/pretty",
start_permanent: Mix.env() == :prod,
test_coverage: [tool: ExCoveralls],
version: @version
]
end
def application do
[
extra_applications: [:logger]
]
end
defp deps do
[
{:credo, "~> 1.5", only: [:dev, :test], runtime: false},
{:dialyxir, "~> 1.1", only: :dev, runtime: false},
{:ex_doc, "~> 0.24.0", only: :dev, runtime: false},
{:excoveralls, "~> 0.14.1", only: :test, runtime: false},
{:mix_test_watch, "~> 1.0", only: :dev, runtime: false}
]
end
defp docs do
[
api_reference: false,
authors: ["Garth Kidd"],
canonical: "http://hexdocs.pm/pretty",
main: "Pretty",
source_ref: "v#{@version}"
]
end
defp elixirc_paths(:test), do: ["test/support", "lib"]
defp elixirc_paths(_), do: ["lib"]
defp package do
[
files: ~w(mix.exs README.md lib test/support),
licenses: ["Apache 2.0"],
links: %{
"Amplified" => "https://www.amplified.ai",
"GitHub" => "https://github.com/amplifiedai/pretty"
},
maintainers: ["Garth Kidd"]
]
end
end