forked from dashbitco/broadway
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmix.exs
82 lines (75 loc) · 1.9 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
71
72
73
74
75
76
77
78
79
80
81
82
defmodule Broadway.MixProject do
use Mix.Project
@version "0.7.0-dev"
@description "Build concurrent and multi-stage data ingestion and data processing pipelines"
def project do
[
app: :broadway,
version: @version,
elixir: "~> 1.7",
name: "Broadway",
description: @description,
deps: deps(),
docs: docs(),
package: package(),
test_coverage: [tool: ExCoveralls]
]
end
def application do
[
extra_applications: [:logger]
]
end
defp deps do
[
{:gen_stage, "~> 1.0"},
{:nimble_options, "~> 0.3.0"},
{:telemetry, "~> 0.4.0"},
{:ex_doc, ">= 0.19.0", only: :docs},
{:excoveralls, "~> 0.13.3", only: :test}
]
end
defp docs do
[
main: "Broadway",
source_ref: "v#{@version}",
source_url: "https://github.com/dashbitco/broadway",
extra_section: "Guides",
extras: [
"guides/examples/Amazon SQS.md",
"guides/examples/Apache Kafka.md",
"guides/examples/Google Cloud PubSub.md",
"guides/examples/RabbitMQ.md",
"guides/examples/Custom Producers.md",
"guides/internals/Architecture.md"
],
groups_for_extras: [
Examples: Path.wildcard("guides/examples/*.md"),
Internals: Path.wildcard("guides/internals/*.md")
],
groups_for_modules: [
# Ungrouped Modules:
#
# Broadway
# Broadway.Message
# Broadway.BatchInfo
Acknowledgement: [
Broadway.Acknowledger,
Broadway.CallerAcknowledger,
Broadway.NoopAcknowledger
],
Producers: [
Broadway.Producer,
Broadway.DummyProducer
]
]
]
end
defp package do
%{
licenses: ["Apache-2.0"],
maintainers: ["Marlus Saraiva", "José Valim"],
links: %{"GitHub" => "https://github.com/dashbitco/broadway"}
}
end
end