-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathmix.exs
72 lines (65 loc) · 1.64 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
defmodule ElixirStartingPoint.MixProject do
use Mix.Project
@version "0.1.1"
def project do
[
app: :zip_zip,
version: @version,
description: description(),
name: "ZipZip",
docs: docs(),
build_path: "_build",
deps_path: "deps",
lockfile: "mix.lock",
elixir: "~> 1.13",
consolidate_protocols: Mix.env() != :test,
deps: deps(),
test_coverage: [tool: ExCoveralls],
package: package(),
source_url: "https://github.com/garrettmichaelgeorge/zip_zip",
preferred_cli_env: [
coveralls: :test,
"coveralls.detail": :test,
"coveralls.html": :test
],
dialyzer: [
plt_add_apps: [:elixir, :mix],
flags: [
:error_handling,
:race_conditions,
:underspecs
],
ignore_warnings: ".dialyzer_ignore.exs"
]
]
end
def application do
[]
end
defp description,
do: "A zipper implementation in Elixir"
defp docs do
[
main: "ZipZip",
# logo: "path/to/logo.png",
extras: ["README.md"]
]
end
# https://hex.pm/docs/publish#adding-metadata-to-code-classinlinemixexscode
defp package do
[
name: "zip_zip",
organization: "hexpm",
licenses: ["MIT"],
links: %{"GitHub" => "https://github.com/garrettmichaelgeorge/zip_zip"}
]
end
defp deps do
[
{:credo, "~> 1.6.1", only: [:dev, :test], runtime: false},
{:dialyxir, "~> 1.1", only: [:dev, :test], runtime: false},
{:ex_doc, "~> 0.27", only: :dev, runtime: false},
{:excoveralls, "~> 0.14", only: [:dev, :test], runtime: false}
]
end
end