-
Notifications
You must be signed in to change notification settings - Fork 0
/
mix.exs
60 lines (51 loc) · 1.05 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
defmodule Diamond.MixProject do
use Mix.Project
@gh_url "https://github.com/APB9785/diamond"
@version "0.1.0"
def project do
[
app: :diamond,
version: @version,
elixir: "~> 1.13",
start_permanent: Mix.env() == :prod,
deps: deps(),
# Hex
description:
"A read-only in-memory key/value storage optimized for the fastest possible read times",
package: package(),
# Docs
name: "Diamond",
docs: docs()
]
end
def application do
[extra_applications: [:logger]]
end
defp deps do
[{:ex_doc, "~> 0.20", only: [:docs, :dev]}]
end
defp package do
[
maintainers: ["Andrew P Berrien"],
licenses: ["GPL-3.0"],
links: %{
"Changelog" => "#{@gh_url}/blob/master/CHANGELOG.md",
"GitHub" => @gh_url
}
]
end
defp docs do
[
main: "Diamond",
source_ref: "v#{@version}",
logo: nil,
source_url: @gh_url,
extras: extras()
]
end
defp extras do
[
"CHANGELOG.md"
]
end
end