-
Notifications
You must be signed in to change notification settings - Fork 0
/
mix.exs
45 lines (41 loc) · 968 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
defmodule BorderPatrol.Mixfile do
use Mix.Project
def project do
[app: :borderpatrol,
version: "0.0.9",
elixir: "~> 1.0", deps: deps]
end
defp get_application(:prod) do
[
applications: [
:logger,
:urna,
:cauldron,
:ecto,
:postgrex,
:connection,
:cisco_snmp_ex,
:tftp_ex,
:acl_ex
],
mod: {BorderPatrol, []}
]
end
defp get_application(_) do
[applications: [:logger]]
end
def application do
get_application Mix.env
end
defp deps do
[
{:urna, git: "https://github.com/meh/urna", ref: "cceb5ef10b"},
{:cauldron, "~> 0.1.5"},
{:ecto, "~> 1.1.0"},
{:postgrex, "~> 0.11.0"},
{:cisco_snmp_ex, git: "https://github.com/jonnystorm/cisco-snmp-elixir"},
{:tftp_ex, git: "https://github.com/jonnystorm/tftp-elixir"},
{:acl_ex, git: "https://github.com/jonnystorm/acl-elixir"}
]
end
end