This repository has been archived by the owner on Dec 13, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathmix.exs
62 lines (56 loc) · 1.61 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
62
defmodule RailwayIpc.MixProject do
use Mix.Project
def project do
[
app: :railway_ipc,
version: "0.4.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, :amqp],
mod: {RailwayIpc.Application, []}
]
end
defp deps do
[
{:amqp, "~> 1.2"},
{:credo, "~> 1.4", only: [:dev, :test], runtime: false},
{:dialyxir, "~> 1.0", only: [:dev], runtime: false},
{:ecto_sql, "~> 3.0"},
{:elixir_uuid, "~> 1.2"},
{:ex_doc, ">= 0.0.0", only: :dev, runtime: false},
{:ex_machina, "~> 2.3", only: [:test, :e2e]},
{:google_protos, "~> 0.1"},
{:jason, "~> 1.2"},
{:mix_test_watch, "~> 0.8", only: :dev, runtime: false},
{:mox, "~> 0.5", only: [:test, :e2e]},
{:postgrex, ">= 0.0.0"},
{:protobuf,
git: "https://github.com/flatiron-labs/protobuf.git", tag: "2020.11.16", override: true},
{:telemetry, "~> 0.4"}
]
end
defp aliases do
[
test: ["ecto.create --quiet", "ecto.migrate", "test"]
]
end
defp elixirc_paths(:e2e), do: ["test/support", "lib"]
defp elixirc_paths(:test), do: ["test/support", "lib"]
defp elixirc_paths(_), do: ["lib", "priv"]
defp package do
[
description: "Elixir IPC",
files: ~w(priv lib .formatter.exs mix.exs README* LICENSE* CHANGELOG*),
licenses: ["MIT"],
links: %{"GitHub" => "https://github.com/learn-co/railway_ipc"}
]
end
end