-
Notifications
You must be signed in to change notification settings - Fork 0
/
mix.exs
69 lines (63 loc) · 1.68 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
defmodule InnerCotton.Mixfile do
use Mix.Project
def project do
[
app: :inner_cotton,
build_embedded: Mix.env() == :prod,
deps: deps(Mix.env()),
description: "Collection of recommended Elixir check utilities.",
dialyzer: [
ignore_warnings: "dialyzer.ignore-warnings",
plt_add_apps: [:credo],
plt_core_path: "_build"
],
elixir: "~> 1.9",
package: package(),
preferred_cli_env: [
coveralls: :test,
"coveralls.detail": :test,
"coveralls.github": :test,
"coveralls.html": :test,
"coveralls.travis": :test
],
start_permanent: Mix.env() == :prod,
test_coverage: [tool: ExCoveralls],
version: "0.6.9",
# Docs
docs: [
main: "readme",
extras: ["README.md"]
],
homepage_url: "https://github.com/ne-sachirou/inner_cotton",
name: "InnerCotton",
source_url: "https://github.com/ne-sachirou/inner_cotton"
]
end
def application, do: [extra_applications: [:mix]]
defp deps(:publish) do
[
{:credo, "~> 1.0", runtime: false},
{:dialyxir, "~> 1.0", runtime: false},
{:excoveralls, "~> 0.9"},
# {:inch_ex, "~> 2.0", runtime: false},
{:stream_data, "~> 0.4"}
]
end
defp deps(_) do
[
{:ex_doc, "~> 0.19", only: :dev, runtime: false}
| deps(:publish)
]
end
def package do
[
files: ["LICENSE", "README.md", "mix.exs", "lib", "priv"],
licenses: ["Unlicense"],
links: %{
GitHub: "https://github.com/ne-sachirou/inner_cotton"
},
maintainers: ["ne_Sachirou <utakata.c4se@gmail.com>"],
name: :inner_cotton
]
end
end