-
Notifications
You must be signed in to change notification settings - Fork 22
/
mix.exs
48 lines (43 loc) · 1.13 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
defmodule ParallelStream.Mixfile do
use Mix.Project
def project do
[
app: :parallel_stream,
version: "1.1.0",
elixir: "~> 1.5",
deps: deps(),
package: package(),
docs: &docs/0,
name: "Parallel Stream",
consolidate_protocols: true,
source_url: "https://github.com/beatrichartz/parallel_stream",
description: "Parallel stream operations for Elixir",
test_coverage: [tool: ExCoveralls],
preferred_cli_env: [coveralls: :test, "coveralls.detail": :test, "coveralls.post": :test]
]
end
defp package do
[
maintainers: ["Beat Richartz"],
licenses: ["MIT"],
links: %{github: "https://github.com/beatrichartz/parallel_stream"}
]
end
defp deps do
[
{:excoveralls, "~> 0.14", only: :test},
{:ex_doc, only: :docs},
{:inch_ex, only: :docs},
{:earmark, "1.4.15", only: :docs},
{:benchfella, "~> 0.3.0", only: [:bench]}
]
end
defp docs do
{ref, 0} = System.cmd("git", ["rev-parse", "--verify", "--quiet", "HEAD"])
[
source_ref: ref,
extras: ["README.md"],
main: "readme"
]
end
end