-
Notifications
You must be signed in to change notification settings - Fork 2
/
mix.exs
50 lines (44 loc) · 1.06 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
defmodule Unidecode.Mixfile do
use Mix.Project
def project do
[
app: :unidecode,
version: "1.0.1",
elixir: "~> 1.6",
description: description(),
source_url: "https://github.com/fcevado/unidecode",
build_embedded: Mix.env() == :prod,
start_permanent: Mix.env() == :prod,
package: package(),
deps: deps()
]
end
def application do
[]
end
defp description do
~S(
Transliterate from Unicode to ASCII.
Based on Text::Unidecode.
)
end
defp package do
[
name: :unidecode,
files: ["priv", "lib/unidecode.ex", "lib/unidecode", "mix.exs", "README.md", "LICENSE"],
maintainers: ["Flávio Moreira Vieira"],
licenses: ["Apache 2.0"],
links: %{
"Github" => "https://github.com/fcevado/unidecode",
"Text::Unidecode(Original Perl Module)" =>
"http://search.cpan.org/~sburke/Text-Unidecode-1.30/"
}
]
end
defp deps do
[
{:ex_doc, ">= 0.24.2", only: :dev},
{:earmark, ">= 1.4.12", only: :dev}
]
end
end