forked from normancapule/countriex
-
Notifications
You must be signed in to change notification settings - Fork 1
/
mix.exs
61 lines (55 loc) · 1.53 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
defmodule Countriex.Mixfile do
use Mix.Project
def project do
[
aliases: aliases(),
app: :countriex,
build_embedded: Mix.env() == :prod,
deps: deps(),
description:
"All sorts of useful information about every country. A pure elixir port of the ruby Countries gem",
docs: [extras: ["README.md"]],
elixir: "~> 1.3",
elixirc_paths: elixirc_paths(Mix.env()),
homepage_url: "https://github.com/navinpeiris/countriex",
name: "Countriex",
package: package(),
source_url: "https://github.com/navinpeiris/countriex",
start_permanent: Mix.env() == :prod,
version: "1.0.2",
xref: [exclude: [YamlElixir]]
]
end
def application do
[applications: [:logger]]
end
defp aliases,
do: [
update: [
"countriex.generate_data",
"format lib/countriex/data.ex"
]
]
defp package do
[
files: ["lib", "mix.exs", "README*", "LICENSE*"],
maintainers: ["Music Glue"],
licenses: ["MIT"],
links: %{"GitHub" => "https://github.com/venndr/countriex"}
]
end
defp elixirc_paths(:dev), do: ["lib", "tasks"]
defp elixirc_paths(_), do: ["lib"]
defp deps do
[
{:earmark, "~> 1.0", only: :dev},
{:ex_doc, "~> 0.14", only: :dev},
{:httpoison, "~> 1.8", only: :dev},
{:memoize, "~> 1.4", only: :dev},
{:poison, "~> 3.0", only: :dev},
{:yaml_elixir, "~> 2.9.0", only: :dev},
{:morphix, "~> 0.8.0"},
{:ex_unit_notifier, "~> 0.1", only: :test}
]
end
end