-
Notifications
You must be signed in to change notification settings - Fork 0
/
mix.exs
70 lines (58 loc) · 1.34 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
68
69
70
defmodule Meeseeks.Mixfile do
use Mix.Project
@version "0.11.0"
def project do
[
app: :meeseeks,
version: @version,
elixir: "~> 1.4",
deps: deps(),
# Hex
package: package(),
description: description(),
# HexDocs
name: "Meeseeks",
source_url: "https://github.com/mischov/meeseeks",
docs: docs()
]
end
def application do
[applications: [:logger, :meeseeks_html5ever, :rustler, :xmerl]]
end
defp deps do
[
{:meeseeks_html5ever, "~> 0.11.0", github: "AndyGao23/meeseeks_html5ever"},
# dev
{:dialyxir, "~> 0.5", only: :dev, runtime: false},
# docs
{:ex_doc, ex_doc_version(), only: :docs, runtime: false}
]
end
defp ex_doc_version do
if System.version() >= "1.7", do: "~> 0.19.0", else: "~> 0.18.0"
end
defp description do
"""
Meeseeks is a library for parsing and extracting data from HTML and XML with CSS or XPath selectors.
"""
end
defp package do
[
maintainers: ["Mischov"],
licenses: ["MIT"],
files: [
"lib",
"src/*.xrl",
"src/*.yrl",
"mix.exs",
"README.md",
"LICENSE",
"LICENSE-APACHE"
],
links: %{"Github" => "https://github.com/mischov/meeseeks"}
]
end
defp docs do
[main: "Meeseeks"]
end
end