-
Notifications
You must be signed in to change notification settings - Fork 65
/
mix.exs
58 lines (52 loc) · 1.22 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
defmodule Comeonin.Mixfile do
use Mix.Project
@version "5.5.0"
@description "A specification for password hashing libraries"
@source_url "https://github.com/riverrun/comeonin"
def project do
[
app: :comeonin,
version: @version,
elixir: "~> 1.7",
start_permanent: Mix.env() == :prod,
name: "Comeonin",
description: @description,
package: package(),
deps: deps(),
docs: docs(),
dialyzer: [
plt_file: {:no_warn, "priv/plts/dialyzer.plt"}
]
]
end
def application do
[
extra_applications: [:logger]
]
end
defp deps do
[
{:ex_doc, "~> 0.23", only: :dev, runtime: false},
{:dialyxir, "~> 1.3", only: :dev, runtime: false}
]
end
defp package do
[
files: ["lib", "mix.exs", "CHANGELOG.md", "README.md", "LICENSE"],
maintainers: ["David Whitlock"],
licenses: ["BSD-3-Clause"],
links: %{
"Changelog" => "#{@source_url}/blob/master/CHANGELOG.md",
"GitHub" => @source_url
}
]
end
defp docs do
[
main: "readme",
source_ref: "v#{@version}",
source_url: @source_url,
extras: ["README.md", "UPGRADE_v5.md", "CHANGELOG.md"]
]
end
end