-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathmix.exs
64 lines (59 loc) · 1.54 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
defmodule ConfigZ.MixProject do
use Mix.Project
def project do
[
app: :config_z,
version: "0.3.2",
elixir: "~> 1.8",
start_permanent: Mix.env() == :prod,
deps: deps(),
description: description(),
name: "ConfigZ",
package: package(),
source_url: "https://github.com/cctiger36/config_z",
homepage_url: "https://github.com/cctiger36/config_z",
docs: [
main: "readme",
extras: ["README.md"]
],
dialyzer: [
flags: [:no_undefined_callbacks],
ignore_warnings: "dialyzer.ignore-warnings",
remove_defaults: [:unknown]
],
test_coverage: [tool: ExCoveralls],
preferred_cli_env: [
coveralls: :test,
"coveralls.github": :test
]
]
end
# Run "mix help compile.app" to learn about applications.
def application do
[
mod: {ConfigZ, []},
extra_applications: [:logger]
]
end
# Run "mix help deps" to learn about dependencies.
defp deps do
[
{:ex_doc, "~> 0.19", only: :dev, runtime: false},
{:file_system, "~> 0.2"},
{:inner_cotton, "~> 0.2", only: [:dev, :test]},
{:mock, "~> 0.3", only: :test}
]
end
defp package do
[
files: ["LICENSE", "README.md", "mix.exs", "lib"],
licenses: ["MIT"],
links: %{"GitHub" => "https://github.com/cctiger36/config_z"},
maintainers: ["cctiger36 <cctiger36@gmail.com>"],
name: "config_z"
]
end
defp description do
"Runtime configuration for Elixir applications."
end
end