This repository was archived by the owner on Nov 9, 2022. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 7
Expand file tree
/
Copy pathmix.exs
More file actions
74 lines (66 loc) · 1.56 KB
/
mix.exs
File metadata and controls
74 lines (66 loc) · 1.56 KB
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
defmodule Murmur.Mixfile do
use Mix.Project
@description """
Murmur is a pure Elixir implementation of the non-cryptographic hash Murmur3.
It aims to implement the x86_32bit, x86_128bit and x64_128bit variants.
"""
@github "https://github.com/gmcabrita/murmur"
def project() do
[
app: :murmur,
name: "Murmur",
source_url: @github,
homepage_url: nil,
version: "1.0.3",
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 package() do
[
files: ["lib", "mix.exs", "README.md", "LICENSE"],
maintainers: ["Gonçalo Cabrita"],
licenses: ["MIT"],
links: %{"GitHub" => @github}
]
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}
]
end
defp aliases do
[
ci: [
"format --check-formatted",
"test",
"dialyzer"
]
]
end
end