-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathmix.exs
More file actions
53 lines (49 loc) · 1.09 KB
/
mix.exs
File metadata and controls
53 lines (49 loc) · 1.09 KB
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
defmodule Hedgehog.MixProject do
use Mix.Project
def project do
[
apps_path: "apps",
version: "0.1.0",
start_permanent: Mix.env() == :prod,
deps: deps(),
aliases: aliases(),
consolidate_protocols: Mix.env() == :prod,
preferred_cli_env: [
"test.unit": :test
]
]
end
def application do
[
extra_applications: [:logger, :eex, :wx, :observer, :runtime_tools]
]
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
[
{:credo, "~> 1.7", only: [:dev, :test], runtime: false}
]
end
defp aliases do
[
sobelow: ["cmd mix sobelow"],
setup: [
"ecto.drop",
"ecto.create",
"ecto.migrate",
"cmd --app naive --app streamer mix seed"
],
"test.integration": [
"setup",
"test --only integration"
],
"test.unit": [
"test --only unit --no-start"
]
]
end
end