-
Notifications
You must be signed in to change notification settings - Fork 114
/
mix.exs
47 lines (43 loc) · 1.12 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
defmodule Snitch.Mixfile do
use Mix.Project
def project do
[
apps_path: "apps",
elixir: "~> 1.13.4",
start_permanent: Mix.env() == :prod,
deps: deps(),
test_coverage: [tool: ExCoveralls],
preferred_cli_env: [coveralls: :test, "coveralls.json": :test, "coveralls.html": :test],
docs: docs()
]
end
# Dependencies listed here are available only for this
# project and cannot be accessed from applications inside
# the apps folder.
#
# Run "mix help deps" for examples and options.
defp deps do
[
{:jason, "~> 1.0"},
{:ex_doc, "~> 0.16", only: :dev, runtime: false},
{:excoveralls, "~> 0.8", only: :test},
{:inch_ex, "~> 0.5.6", only: [:docs, :dev]},
{:distillery, "~> 2.0", runtime: false}
]
end
defp docs do
[
extras: ~w(README.md),
main: "readme",
source_url: "https://github.com/aviabird/snitch",
groups_for_modules: groups_for_modules()
]
end
defp groups_for_modules do
[
Snitch: ~r/^Snitch.?/,
SnitchApi: ~r/^SnitchApi.?/,
SnitchAdmin: ~r/^AdminApp.?/
]
end
end