This repository has been archived by the owner on Nov 9, 2022. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 8
/
mix.exs
73 lines (66 loc) · 1.51 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
defmodule Bloomex.Mixfile do
use Mix.Project
@description """
Bloomex is a pure Elixir implementation of Scalable Bloom Filters.
"""
@github "https://github.com/gmcabrita/bloomex"
def project() do
[
app: :bloomex,
name: "Bloomex",
source_url: @github,
homepage_url: nil,
version: "1.2.0",
elixir: "~> 1.6",
build_embedded: Mix.env() == :prod,
start_permanent: Mix.env() == :prod,
description: @description,
package: package(),
deps: deps(),
aliases: aliases(),
preferred_cli_env: [
ci: :test
],
test_coverage: [tool: ExCoveralls],
docs: docs(),
dialyzer_ignored_warnings: [
{:warn_contract_supertype, :_, {:extra_range, [:_, :__protocol__, 1, :_, :_]}}
]
]
end
def application() do
[]
end
defp docs() do
[
main: "readme",
logo: nil,
extras: ["README.md"]
]
end
defp deps() do
[
{:excoveralls, "~> 0.10", only: [:dev, :test], runtime: false},
{:ex_doc, "~> 0.16", only: [:dev, :docs], runtime: false},
{:dialyzex, "~> 1.3.0", only: [:dev, :test], runtime: false},
{:jason, "~> 1.1"}
]
end
defp package() do
[
files: ["lib", "mix.exs", "README.md", "LICENSE"],
maintainers: ["Gonçalo Cabrita"],
licenses: ["MIT"],
links: %{"GitHub" => @github}
]
end
defp aliases do
[
ci: [
"format --check-formatted",
"test",
"dialyzer"
]
]
end
end