-
Notifications
You must be signed in to change notification settings - Fork 12
/
Copy pathmix.exs
61 lines (55 loc) · 1.43 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
53
54
55
56
57
58
59
60
61
##
# Copyright (C) 2021 Valentin Lorentz
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License version 3,
# as published by the Free Software Foundation.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU Affero General Public License for more details.
#
# You should have received a copy of the GNU Affero General Public License
# along with this program. If not, see <https://www.gnu.org/licenses/>.
###
defmodule M51.MixProject do
use Mix.Project
def project do
[
app: :matrix2051,
version: version(),
elixir: "~> 1.7",
start_permanent: Mix.env() == :prod,
deps: deps(),
releases: [
matrix2051: [
version: version(),
applications: [matrix2051: :permanent]
]
]
]
end
defp version do
"0.1.0"
end
defp source_code_url do
"https://github.com/progval/matrix2051"
end
def application do
[
mod: {M51.Application, []},
env: [source_code_url: source_code_url()],
extra_applications: [:logger]
]
end
defp deps do
[
# only using :mochiweb_html
{:mochiweb, "~> 3.2.2"},
{:jason, "~> 1.2"},
{:httpoison, "~> 1.7"},
{:mox, "~> 1.0.0", only: :test}
]
end
end