-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathmix.exs
52 lines (46 loc) · 1.11 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
defmodule RecoverableStreamEx.MixProject do
use Mix.Project
def project do
[
app: :recoverable_stream_ex,
version: "1.0.0",
elixir: "~> 1.6",
start_permanent: Mix.env() == :prod,
deps: deps(),
# Hex & Docs
description: description(),
package: package(),
name: "RecoverableStreamEx",
source_url: "https://github.com/sumerman/recoverable_stream_ex",
docs: [
main: "readme",
extras: ["README.md"]
]
]
end
def application do
[
mod: {RecoverableStreamEx, []},
extra_applications: [:logger]
]
end
defp description do
"""
By extracting evaluation of the source stream into a separate
process `RecoverableStream` provides a way to isolate upstream
errors and recover from them.
"""
end
defp package do
[
licenses: ["MIT"],
links: %{"GitHub" => "https://github.com/sumerman/recoverable_stream_ex"}
]
end
defp deps do
[
{:postgrex, "~> 0.15", only: [:dev, :test], runtime: false},
{:ex_doc, "~> 0.21", only: :dev, runtime: false}
]
end
end