-
Notifications
You must be signed in to change notification settings - Fork 2
/
mix.exs
57 lines (52 loc) · 1.46 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
defmodule Feederer.Mixfile do
use Mix.Project
@version "0.5.9"
def project do
[app: :feederer,
version: @version,
elixir: "~> 1.0",
deps: deps,
source_url: "https://github.com/draftli/feederer",
homepage_url: "https://github.com/draftli/feederer",
docs: [
source_ref: "v#{@version}",
main: "readme",
extras: ["README.md"]
],
package: package]
end
def application do
[
applications: [:logger, :poolboy],
env: [
erlport: [
python_path: to_char_list(Path.expand("priv")),
compressed: 6,
python: 'python'
],
poolboy: [
size: 10,
max_overflow: 0
],
supervisor_strategy: :one_for_one,
],
mod: {Feederer, []},
]
end
defp deps do
[{:erlport, git: "https://github.com/hdima/erlport.git",
ref: "246b7722d62b87b48be66d9a871509a537728962"},
{:poolboy, "~> 1.5"},
{:dialyxir, "~> 0.3", only: :dev},
{:dogma, "~> 0.1", only: :dev},
{:credo, "~> 0.3", only: [:dev, :test]},
{:ex_doc, "~> 0.11", only: [:dev]},
{:earmark, "~> 0.2", only: [:dev]}]
end
defp package do
[maintainers: ["Victor Felder", "Martin Maillard", "Matthieu Maury"],
licenses: ["LGPLv3"],
description: "Parses XML syndication feeds such as RSS, Atom, etc. Elixir feedparser wrapper using erlport.",
links: %{"GitHub" => "https://github.com/draftli/feederer"}]
end
end