forked from learn-co/railway_ipc
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmix.exs
55 lines (49 loc) · 1.25 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
defmodule RailwayIpc.MixProject do
use Mix.Project
def project do
[
app: :railway_ipc,
version: "0.2.0",
elixir: "~> 1.8",
start_permanent: Mix.env() == :prod,
deps: deps(),
aliases: aliases(),
elixirc_paths: elixirc_paths(Mix.env()),
package: package()
]
end
def application do
[
extra_applications: [:lager, :logger]
]
end
defp deps do
[
{:amqp, "~> 1.4"},
{:protobuf, "~> 0.7.1"},
{:google_protos, "~> 0.1"},
{:jason, "~> 1.1"},
{:elixir_uuid, "~> 1.2"},
{:ex_rabbit_pool, "~> 1.0.3"},
{:mix_test_watch, "~> 0.8", only: :dev, runtime: false},
{:ex_doc, ">= 0.0.0", only: :dev, runtime: false},
{:credo, "~> 1.1", only: [:dev, :test], runtime: false},
{:dialyxir, "~> 1.0.0-rc.7", only: [:dev], runtime: false}
]
end
defp aliases do
[
test: "test --no-start"
]
end
defp elixirc_paths(:test), do: ["test/support", "lib"]
defp elixirc_paths(_), do: ["lib"]
defp package() do
[
description: "Elixir IPC",
files: ~w(lib .formatter.exs mix.exs README* LICENSE* CHANGELOG*),
licenses: ["MIT"],
links: %{"GitHub" => "https://github.com/djeusette/railway_ipc"}
]
end
end