-
Notifications
You must be signed in to change notification settings - Fork 0
/
mix.exs
70 lines (64 loc) · 1.83 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
defmodule LocaleNames.MixProject do
use Mix.Project
@project_url "https://github.com/fewlinesco/locale_names"
def project do
[
app: :locale_names,
deps: deps(),
description: "Translation, spelling and direction of locales",
dialyzer: dialyzer(),
docs: [main: "readme", extras: ["README.md"]],
elixir: "~> 1.6",
homepage_url: @project_url,
name: "Locale Names",
package: package(),
source_url: @project_url,
start_permanent: Mix.env() == :prod,
test_coverage: [tool: ExCoveralls],
version: "1.0.1"
]
end
# Run "mix help compile.app" to learn about applications.
def application do
[
extra_applications: [:logger]
]
end
# Run "mix help deps" to learn about dependencies.
defp deps do
[
{:benchee, "~> 0.11", only: [:dev, :test]},
{:benchee_json, "~> 0.4", only: [:dev, :test]},
{:dialyxir, "~> 0.5", only: [:dev, :test], runtime: false},
{:ex_doc, "~> 0.14", only: :dev},
{:excoveralls, "~> 0.7.1", only: :test},
{:poison, "~> 3.1"}
]
end
defp dialyzer do
[
flags: [:error_handling, :no_opaque, :race_conditions, :unmatched_returns],
plt_add_apps: [:mix],
plt_add_deps: :app_tree
]
end
defp package do
[
files: [
"lib",
"LICENSE*",
"mix.exs",
"priv/cldr-core/availableLocales.json",
"priv/cldr-core/scriptMetadata.json",
"priv/cldr-core/supplemental/languageData.json",
"priv/cldr-core/supplemental/likelySubtags.json",
"priv/cldr-localenames-full/main/**/languages.json",
"priv/cldr-localenames-full/main/**/territories.json",
"README*"
],
licenses: ["MIT"],
links: %{"GitHub" => @project_url},
maintainers: ["Vincent Billey", "Kevin Disneur"]
]
end
end