-
Notifications
You must be signed in to change notification settings - Fork 26
/
mix.exs
45 lines (40 loc) · 1.09 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
defmodule Browser.Mixfile do
use Mix.Project
def project do
[app: :browser,
version: "0.5.4",
name: "browser",
source_url: "https://github.com/danhper/elixir-browser",
homepage_url: "https://github.com/danhper/elixir-browser",
package: package(),
description: description(),
elixir: "~> 1.10",
build_embedded: Mix.env == :prod,
start_permanent: Mix.env == :prod,
deps: deps(),
docs: [
main: "readme",
extras: ["README.md"]
]]
end
defp description() do
"Browser detection library"
end
defp package() do
[
files: ["lib", "mix.exs", "README.md", "LICENSE", "bots.txt", "bot_exceptions.txt", "search_engines.txt"],
maintainers: ["Daniel Perez"],
licenses: ["MIT"],
links: %{"GitHub" => "https://github.com/danhper/elixir-browser"}
]
end
def application do
[extra_applications: [:logger]]
end
defp deps() do
[{:plug, "~> 1.2", optional: true},
{:earmark, "~> 1.0", only: :dev},
{:ex_doc, "~> 0.19", only: :dev},
{:mix_test_watch, "~> 1.1", only: :dev}]
end
end