-
Notifications
You must be signed in to change notification settings - Fork 161
/
mix.exs
87 lines (79 loc) · 2.08 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
83
84
85
86
87
defmodule Broadway.MixProject do
use Mix.Project
@version "1.1.0"
@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],
preferred_cli_env: [docs: :docs]
]
end
def application do
[
extra_applications: [:logger]
]
end
defp deps do
[
{:gen_stage, "~> 1.0"},
{:nimble_options, "~> 0.3.7 or ~> 0.4 or ~> 1.0"},
{:telemetry, "~> 0.4.3 or ~> 1.0"},
# Dev/test dependencies.
{:castore, "~> 1.0", only: :test},
{:ex_doc, ">= 0.19.0", only: :docs},
{:excoveralls, "~> 0.18.0", only: :test}
]
end
defp docs do
[
main: "introduction",
source_ref: "v#{@version}",
source_url: "https://github.com/dashbitco/broadway",
extra_section: "Guides",
extras: [
"guides/examples/introduction.md",
"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