-
Notifications
You must be signed in to change notification settings - Fork 0
/
mix.exs
42 lines (37 loc) · 1.22 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
defmodule Valet.MixProject do
use Mix.Project
def project do
[
app: :valet,
version: "0.1.0",
elixir: "~> 1.6",
start_permanent: Mix.env() == :prod,
deps: deps(),
elixirc_paths: elixirc_paths(Mix.env),
compilers: Mix.compilers ++ [:protocol_ex],
]
end
def application do
[
extra_applications: extra_applications(Mix.env),
]
end
defp extra_applications(:dev), do: extra_applications(:test)
defp extra_applications(:test), do: [:stream_data | extra_applications(123)]
defp extra_applications(_), do: [:logger]
# Specifies which paths to compile per environment.
defp elixirc_paths(:test), do: ["lib", "test/lib"]
defp elixirc_paths(_), do: ["lib"]
# Run "mix help deps" to learn about dependencies.
defp deps do
[
# {:protocol_ex, "~> 0.3.0"},
{:protocol_ex, git: "https://github.com/OvermindDL1/protocol_ex", branch: "master", override: true},
{:polylens, git: "https://github.com/irresponsible/polylens.ex"},
{:dbg, "~> 1.0", only: [:dev, :test]},
{:dialyxir, "~> 0.5", only: [:dev], runtime: false},
{:stream_data, "~> 0.4", only: [:dev, :test]},
{:benchee, "~> 0.13", only: [:dev, :test]},
]
end
end