-
Notifications
You must be signed in to change notification settings - Fork 1
/
mix.exs
51 lines (48 loc) · 1.28 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
defmodule HomepageUmbrella.Mixfile do
use Mix.Project
def project do
[
apps_path: "apps",
start_permanent: Mix.env() == :prod,
deps: deps(),
elixir: "~> 1.16",
test_coverage: [tool: ExCoveralls],
aliases: aliases(),
dialyzer: [
plt_add_apps: ~w[mix]a,
plt_core_path: "_plts",
plt_file: {:no_warn, "_plts/homepage.plt"}
],
releases: [
homepage: [
version: "0.1.0",
applications: [
client: :permanent,
events: :permanent,
redis: :permanent,
twitch: :permanent
]
]
]
]
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
[
{:dialyxir, "~> 1.4.1", only: [:dev], runtime: false},
{:excoveralls, "~> 0.18.0"}
]
end
def aliases do
[
"env.encrypt": "exenv.encrypt /apps/twitch/config/master.key /apps/twitch/config/.env",
"env.decrypt": "exenv.decrypt /apps/twitch/config/master.key /apps/twitch/config/.env.enc",
dialyzer: ["dialyzer_pre", "dialyzer"],
"phx.routes": "phx.routes ClientWeb.Router"
]
end
end