-
Notifications
You must be signed in to change notification settings - Fork 23
/
Copy pathmix.exs
58 lines (50 loc) · 1.21 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
Code.ensure_loaded?(Hex) and Hex.start()
defmodule Linguist.MixProject do
@moduledoc false
use Mix.Project
@version "0.4.0"
def project do
[
app: :linguist,
version: @version,
elixir: "~> 1.11",
deps: deps(),
package: package(),
description: description(),
name: "Linguist",
source_url: source_url(),
docs: [
extras: ["README.md"],
main: "readme",
source_ref: "v#{@version}",
source_url: source_url()
]
]
end
def application do
[]
end
defp package do
[
maintainers: ["Change.org", "John Mertens", "Justin Almeida"],
licenses: ["MIT"],
links: %{github: source_url()}
]
end
defp source_url do
"https://github.com/change/linguist"
end
defp description do
"Elixir Internationalization library, extended to support translation files in the rails-i18n format."
end
defp deps do
[
{:ex_cldr, "~> 2.37"},
{:jason, "~> 1.0"},
{:yaml_elixir, "~> 2.0"},
{:ex_doc, "~> 0.22", only: [:dev, :test], runtime: false},
{:credo, "~> 1.0", only: [:dev, :test], runtime: false},
{:sobelow, "~> 0.10", only: :dev, runtime: false}
]
end
end