-
Notifications
You must be signed in to change notification settings - Fork 2
/
mix.exs
68 lines (64 loc) · 1.57 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
defmodule Jumper.MixProject do
use Mix.Project
@version "1.0.2"
@url_docs "http://hexdocs.pm/jumper"
@url_github "https://github.com/whitfin/jumper"
def project do
[
app: :jumper,
name: "Jumper",
description: "Jump consistent hash implementation in Elixir",
package: %{
files: [
"lib",
"mix.exs",
"LICENSE"
],
licenses: ["MIT"],
links: %{
"Docs" => @url_docs,
"GitHub" => @url_github
},
maintainers: ["Isaac Whitfield"]
},
version: @version,
elixir: "~> 1.2",
deps: deps(),
docs: [
source_ref: "v#{@version}",
source_url: @url_github
],
test_coverage: [
tool: ExCoveralls
],
preferred_cli_env: [
docs: :docs,
bench: :bench,
coveralls: :cover,
"coveralls.html": :cover,
"coveralls.github": :cover
],
aliases: [
bench: "run benchmarks/main.exs"
]
]
end
# Run "mix help compile.app" to learn about applications.
def application do
[
extra_applications: [:logger]
]
end
# Run "mix help deps" to learn about dependencies.
defp deps do
[
# Testing dependencies
{:excoveralls, "~> 0.17", optional: true, only: [:cover]},
# Benchmarking dependencies
{:benchee, "~> 1.1", optional: true, only: [:bench]},
{:benchee_html, "~> 1.0", optional: true, only: [:bench]},
# Documentation dependencies
{:ex_doc, "~> 0.30", optional: true, only: [:docs]}
]
end
end