forked from zeromq/exzmq
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmix.exs
executable file
·50 lines (47 loc) · 1.21 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
defmodule Exzmp.Mixfile do
use Mix.Project
def project do
[ app: :exzmq,
version: "0.13.0",
elixir: "~> 1.1",
name: "Exzmq",
source_url: "https://github.com/zeromq/exzmq",
deps: deps ]
end
if System.get_env("ZMQ_TEST_SUITE") == "true" do
# Configuration for the OTP application
def application do
[
mod: { Exzmq.App, [] },
applications: [:logger, :gen_listener_tcp, :erlzmq]
]
end
else
# Configuration for the OTP application
def application do
[
mod: { Exzmq.App, [] },
applications: [:logger, :gen_listener_tcp]
]
end
end
# Returns the list of dependencies in the format:
# { :foobar, git: "https://github.com/elixir-lang/foobar.git", tag: "0.1" }
#
# To specify particular versions, regardless of the tag, do:
# { :barbat, "~> 0.1", github: "elixir-lang/barbat" }
if System.get_env("ZMQ_TEST_SUITE") == "true" do
defp deps do
[
{:gen_listener_tcp, github: "kaos/gen_listener_tcp"},
{:erlzmq, github: "zeromq/erlzmq2", tag: "2.1.11"}
]
end
else
defp deps do
[
{:gen_listener_tcp, github: "kaos/gen_listener_tcp"}
]
end
end
end