-
Notifications
You must be signed in to change notification settings - Fork 43
/
mix.exs
64 lines (59 loc) · 1.6 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
defmodule Scrape.MixProject do
use Mix.Project
def project do
[
app: :scrape,
version: "3.1.0",
elixir: "~> 1.10",
description: description(),
package: package(),
start_permanent: Mix.env() == :prod,
deps: deps()
]
end
# Run "mix help compile.app" to learn about applications.
def application do
[
extra_applications: [:logger],
mod: {Scrape.Application, []}
]
end
defp description do
"""
Scrape any website, article or RSS/Atom feed with ease!
"""
end
defp package do
[
files: ["lib", "mix.exs", "README.md", "LICENSE.txt"],
maintainers: ["Maximilian Stroh"],
licenses: ["LGPLv3"],
links: %{"GitHub" => "https://github.com/Anonyfox/elixir-scrape"}
]
end
# Run "mix help deps" to learn about dependencies.
defp deps do
[
# enable development with `mix test.watch --stale`
{:mix_test_watch, "~> 0.8", only: :dev, runtime: false},
# documentation generation
{:ex_doc, "~> 0.20.2", only: :dev, runtime: false},
# language detection
{:paasaa, "~> 0.3.1"},
# snowball stemmer for multiple languages with a NIF
{:stemex, "~> 0.1.1"},
# HTML/XML parser with CSS3 selectors
{:floki, "~> 0.21.0"},
# clone of arc90's readability algorithm
{:readability, "~> 0.10.0"},
# iconv written in pure elixir
{:codepagex, "~> 0.1.4"},
# http client
{:httpoison, "~> 0.13.0"},
# xml to map
{:elixir_xml_to_map, "~> 0.1.2"},
# map transformation functions
{:morphix, "~> 0.8.0"}
]
end
end