-
Notifications
You must be signed in to change notification settings - Fork 0
/
mix.exs
49 lines (41 loc) · 1.11 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
defmodule CLDRex.Mixfile do
use Mix.Project
# Don't forget to update the README
@version "0.0.7"
def project do
[app: :cldrex,
version: @version,
elixir: "~> 1.2",
build_embedded: Mix.env == :prod,
start_permanent: Mix.env == :prod,
deps: deps(),
# Hex
description: description(),
package: package(),
# Docs
name: "CLDRex",
source_url: "https://github.com/craig-day/cldrex",
homepage_url: "https://github.com/craig-day/cldrex",
docs: [main: "CLDRex", source_ref: "v#{@version}", extras: ["README.md"]]]
end
def application do
[applications: [:logger]]
end
defp deps do
[{:sweet_xml, "~> 0.6"},
{:poison, "~> 2.2"},
{:ex_doc, "~> 0.12", only: [:dev, :docs]}]
end
defp description do
"""
Provide common localization data and formatting attributes from the CLDR.
"""
end
defp package do
[name: :cldrex,
files: ["priv", "lib", "mix.exs", "README.md", "LICENSE"],
maintainers: ["Craig Day"],
licenses: ["GNU GPLv3"],
links: %{"Github" => "https://github.com/craig-day/cldrex"}]
end
end