-
Notifications
You must be signed in to change notification settings - Fork 233
Expand file tree
/
Copy pathmix.exs
More file actions
57 lines (54 loc) · 1.52 KB
/
mix.exs
File metadata and controls
57 lines (54 loc) · 1.52 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
54
55
56
57
defmodule CodebattleUmbrella.MixProject do
use Mix.Project
def project do
[
name: "Codebattle Umbrella",
apps_path: "apps",
version: "0.1.0",
start_permanent: Mix.env() == :prod,
test_coverage: [tool: ExCoveralls, threshold: 60],
aliases: aliases(),
deps: [
{:mix_audit, "~> 2.1", only: [:dev, :test], runtime: false},
{:dialyxir, "~> 1.0", only: [:dev, :test], runtime: false},
{:excoveralls, "~> 0.13", only: :test}
],
listeners: [Phoenix.CodeReloader],
dialyzer: [
paths: [
Path.join(File.cwd!(), "_build/#{Mix.env()}/lib/codebattle/ebin"),
Path.join(File.cwd!(), "_build/#{Mix.env()}/lib/phoenix_gon/ebin"),
Path.join(File.cwd!(), "_build/#{Mix.env()}/lib/runner/ebin")
],
plt_file: {:no_warn, "priv/plts/dialyzer.plt"},
plt_add_apps: [:mix, :ex_unit]
],
releases: [
codebattle: [
applications: [codebattle: :permanent],
runtime_config_path: "config/runtime.exs",
validate_compile_env: false
],
runner: [
applications: [runner: :permanent],
runtime_config_path: "config/runtime.exs",
validate_compile_env: false
]
]
]
end
def cli do
[
preferred_envs: [
coveralls: :test,
"coveralls.detail": :test,
"coveralls.post": :test,
"coveralls.json": :test,
"coveralls.html": :test
]
]
end
defp aliases do
[]
end
end