-
Notifications
You must be signed in to change notification settings - Fork 7
/
mix.exs
74 lines (68 loc) · 1.75 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
66
67
68
69
70
71
72
73
74
defmodule Forecastr.MixProject do
use Mix.Project
def project do
[
app: :forecastr,
version: "0.3.0",
elixir: "~> 1.7",
description: description(),
package: package(),
start_permanent: Mix.env() == :prod,
deps: deps(),
test_coverage: [tool: ExCoveralls],
preferred_cli_env: [
coveralls: :test,
"coveralls.detail": :test,
"coveralls.post": :test,
"coveralls.html": :test
],
elixirc_paths: elixirc_paths(Mix.env()),
dialyzer: [plt_file: {:no_warn, ".dialyzer/local.plt"}]
]
end
def application do
[
extra_applications: [:logger],
mod: {Forecastr.Application, []}
]
end
defp deps do
[
{:httpoison, "~> 1.4"},
{:jason, "~> 1.4"},
{:elbat, "~> 0.0.6"},
{:dialyxir, "~> 1.3.0", only: [:dev], runtime: false},
{:credo, "~> 1.5", only: [:dev, :test], runtime: false},
{:excoveralls, "~> 0.10", only: :test},
{:ex_doc, ">= 0.0.0", only: :dev},
{:mogrify, "~> 0.7"},
{:exvcr, "~> 0.11", only: :test}
]
end
defp elixirc_paths(:test), do: ["lib", "test/support"]
defp elixirc_paths(_), do: ["lib"]
defp description() do
"""
Forecastr, the Elixir way to check the weather forecast
"""
end
defp package() do
[
files: [
"config",
"lib",
"LICENSE",
"mix.exs",
"mix.lock",
"README.md"
],
maintainers: ["Marco Milanesi"],
licenses: ["Apache-2.0"],
links: %{
"GitHub" => "https://github.com/kpanic/forecastr",
"Contributors" => "https://github.com/kpanic/forecastr/graphs/contributors",
"Issues" => "https://github.com/kpanic/forecastr/issues"
}
]
end
end