-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
mix.exs
52 lines (49 loc) · 1.2 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
52
defmodule Lichat.MixProject do
use Mix.Project
def project do
[
app: :lichat,
version: "0.2.3",
elixir: "~> 1.10",
start_permanent: Mix.env() == :prod,
deps: deps(),
releases: [
lichat: [
include_executables_for: [:unix],
steps: [:assemble, :tar],
applications: [lichat: :permanent],
version: {:from_app, :lichat}
]
]
]
end
# Run "mix help compile.app" to learn about applications.
def application do
[
extra_applications: [:logger, :crypto, :eldap, :ssl, :sasl],
env: [profile_lifetime: 60*60*24*365,
acceptors: 2,
port: 1111,
name: "Lichat"],
mod: {Lichat, []}
]
end
# Run "mix help deps" to learn about dependencies.
defp deps do
[
{:nimble_parsec, "~> 0.6"},
{:hashids, "~> 2.0"},
{:mime, "~> 1.2"},
{:ex_unicode, "~> 1.0"},
{:postgrex, "~> 0.15.8"},
{:yesql, "~> 1.0.1"},
{:image, "~> 0.37"},
{:observer_cli, "~> 1.7"},
{:distillery,
git: "https://github.com/bors-ng/distillery.git",
override: true,
commit: "6a221e8",
runtime: false}
]
end
end