-
Notifications
You must be signed in to change notification settings - Fork 3
/
mix.exs
52 lines (49 loc) · 1.31 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
defmodule ExOwm.Mixfile do
use Mix.Project
@github_url "https://github.com/Kociamber/ex_owm"
def project do
[
app: :ex_owm,
name: "ExOwm",
version: "1.3.1",
description: "OpenWeatherMap API Elixir client.",
source_url: @github_url,
homepage_url: @github_url,
package: [
maintainers: ["Rafał Kociszewski", "Joe Eifert"],
licenses: ["MIT"],
links: %{"GitHub" => @github_url}
],
dialyzer: [
plt_file: {:no_warn, "priv/plts/project.plt"},
format: :dialyxir,
paths: ["_build/dev/lib/ex_owm/ebin"]
],
start_permanent: Mix.env() == :prod,
deps: deps(),
docs: [
main: "readme",
extras: ["README.md"]
]
]
end
# Run "mix help compile.app" to learn about applications.
def application do
[
extra_applications: [:logger, :runtime_tools],
mod: {ExOwm.Application, []}
]
end
# Run "mix help deps" to learn about dependencies.
defp deps do
[
{:credo, "~> 1.7", only: [:dev, :test], runtime: false},
{:dialyxir, "~> 1.4", only: [:dev, :test], runtime: false},
{:ex_doc, "~> 0.31", only: :dev, runtime: false},
{:httpoison, "~> 2.0"},
{:jason, "~> 1.4"},
{:nebulex, "~> 2.6"},
{:shards, "~> 1.1"}
]
end
end