-
Notifications
You must be signed in to change notification settings - Fork 0
/
mix.exs
49 lines (43 loc) · 791 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
43
44
45
46
47
48
49
defmodule Homelander.MixProject do
use Mix.Project
def undefined env_var do
case System.fetch_env(env_var) do
:error -> true
_ -> false
end
end
def project do
[
app: :homelander,
version: "0.1.0",
elixir: "~> 1.13",
deps: deps(),
escript: escript(),
releases: releases()
]
end
def application do
[
extra_applications: [:logger, :crypto],
mod: {Homelander.Application, []}
]
end
def escript do
[
main_module: Homelander.CLI,
embed_elixir: undefined("MIX_ESCRIPT_DO_NOT_EMBED_ELIXIR")
]
end
def releases do
[
homelander: [
applications: [homelander: :permanent]
]
]
end
defp deps do
[
{:jason, "~> 1.2"},
]
end
end