-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathmix.exs
42 lines (38 loc) · 900 Bytes
/
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
defmodule BranchPage.Umbrella.MixProject do
use Mix.Project
def project do
[
apps_path: "apps",
version: "0.1.0",
start_permanent: Mix.env() == :prod,
preferred_cli_env: [
ci: :test,
coveralls: :test,
"coveralls.html": :test,
"ecto.reset.test": :test
],
test_coverage: [tool: ExCoveralls],
deps: deps(),
aliases: aliases(),
releases: releases()
]
end
defp deps do
[
{:credo, "~> 1.5", only: [:dev, :test], runtime: false},
{:excoveralls, "== 0.13.3", only: [:dev, :test]}
]
end
defp aliases do
[
"ecto.reset.test": ["ecto.reset"],
"ecto.reset": ["ecto.drop", "ecto.create", "ecto.migrate"],
ci: ["format --check-formatted", "credo --strict", "test"]
]
end
defp releases do
[
web: [applications: [web: :permanent]]
]
end
end