forked from mroth/exmoji
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmix.exs
67 lines (59 loc) · 1.67 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
defmodule Exmoji.Mixfile do
use Mix.Project
def project do
[
app: :exmoji,
version: "0.3.0",
elixir: "~> 1.4",
deps: deps(),
test_coverage: [tool: ExCoveralls],
name: "Exmoji",
source_url: "https://github.com/mroth/exmoji",
description: description(),
package: package(),
aliases: aliases()
]
end
defp description do
"""
Emoji encoding swiss army knife for dealing with Unicode and other gotchas.
"""
end
defp package do
[
maintainers: [ "Matthew Rothenberg <[email protected]>" ],
licenses: [ "MIT" ],
links: %{
"Docs" => "https://hexdocs.pm/exmoji/",
"GitHub" => "https://github.com/mroth/exmoji"
}
]
end
# Configuration for the OTP application
#
# Type `mix help compile.app` for more information
def application do
[applications: []]
end
# Dependencies
#
# Type `mix help deps` for more examples and options
defp deps do
[
{:jason, "~> 1.2"},
{:excoveralls, "~> 0.6", only: :dev},
{:benchfella, "~> 0.3", only: :dev},
{:earmark, "~> 1.1", only: :dev},
{:ex_doc, "~> 0.14", only: :dev}
]
end
defp aliases do
[
clean: ["clean", &clean_docs/1, &clean_benchmarks/1],
"clean.docs": [&clean_docs/1],
"clean.bench": [&clean_benchmarks/1]
]
end
defp clean_benchmarks(_), do: File.rm_rf!("bench/snapshots")
defp clean_docs(_), do: File.rm_rf!("doc")
end