-
Notifications
You must be signed in to change notification settings - Fork 0
/
mix.exs
63 lines (56 loc) · 1.56 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
defmodule Mnemonics.Mixfile do
use Mix.Project
@github "https://github.com/ne-sachirou/mnemonics"
def project do
[
app: :mnemonics,
deps: deps(),
description:
"Read only data store for Elixir: fast, concurrently, for large data & hot reloadable.",
dialyzer: [
flags: [:no_undefined_callbacks],
ignore_warnings: "dialyzer.ignore-warnings",
remove_defaults: [:unknown]
],
elixir: "~> 1.7",
elixirc_paths: elixirc_paths(Mix.env()),
package: package(),
preferred_cli_env: [
coveralls: :test,
"coveralls.detail": :test,
"coveralls.github": :test,
"coveralls.html": :test
],
start_permanent: Mix.env() == :prod,
test_coverage: [tool: ExCoveralls],
version: "0.5.1",
# Docs
docs: [
main: "readme",
extras: ["README.md"]
],
homepage_url: @github,
name: "Mnemonics",
source_url: @github
]
end
def application, do: [extra_applications: [:logger]]
defp deps do
[
{:ex_doc, "~> 0.19", only: :dev, runtime: false},
{:fastglobal, "~> 1.0"},
{:inner_cotton, github: "ne-sachirou/inner_cotton", only: [:dev, :test]}
]
end
defp elixirc_paths(:test), do: ["lib", "test/support"]
defp elixirc_paths(_), do: ["lib"]
def package do
[
files: ["LICENSE", "README.md", "mix.exs", "lib"],
licenses: ["GPL-3.0-or-later"],
links: %{GitHub: @github},
maintainers: ["ne_Sachirou <[email protected]>"],
name: :mnemonics
]
end
end