-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmix.exs
51 lines (46 loc) · 1.16 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
defmodule Iconic.Mixfile do
use Mix.Project
def project do
[
app: :iconic,
version: "0.1.1",
elixir: "~> 1.13",
build_embeded: Mix.env() == :prod,
start_permanent: Mix.env() == :prod,
description: description(),
package: package(),
name: "Iconic",
deps: deps(),
source_url: "https://github.com/ncloudioj/iconic"
]
end
# Run "mix help compile.app" to learn about applications.
def application do
[
extra_applications: [:httpoison],
mod: {Iconic, []},
env: [http_client: HTTPoison]
]
end
defp description do
~s(
An simple icon discovery application that supports icon, apple-touch-icon, applie-touch-icon-precomposed, fluid-icon, and mask-icon.
)
end
defp package do
[
maintainers: ["Nan Jiang"],
licenses: ["Apache 2.0"],
links: %{"Github" => "https://github.com/ncloudioj/iconic"}
]
end
defp deps do
[
{:floki, "~> 0.33.1"},
{:httpoison, "~> 1.8"},
{:credo, "~> 1.6", only: [:dev, :test], runtime: false},
{:earmark, "~> 1.4", only: [:dev]},
{:ex_doc, "~> 0.28.5", only: [:dev]}
]
end
end