-
Notifications
You must be signed in to change notification settings - Fork 0
/
mix.exs
32 lines (28 loc) · 864 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
defmodule Hazel.Mixfile do
use Mix.Project
def project do
[app: :hazel,
version: "0.1.0",
elixir: "~> 1.4",
elixirc_paths: elixirc_paths(Mix.env),
build_embedded: Mix.env == :prod,
start_permanent: Mix.env == :prod,
deps: deps()]
end
# Specifies which paths to compile per environment.
defp elixirc_paths(:test), do: ["lib", "test/support"]
defp elixirc_paths(_), do: ["lib"]
def application() do
[applications: [:logger, :crypto, :gproc, :ranch, :gen_stage, :gen_state_machine]]
end
defp deps() do
[{:gen_stage, "~> 0.1"},
{:bencode, "~> 0.3.2"},
{:bit_field_set, "~> 1.2.0"},
{:gen_state_machine, "~> 2.0.0"},
{:gproc, "~> 0.6.0"},
{:ranch, "~> 1.3.0"},
{:allowance, github: "gausby/allowance"},
{:dialyxir, "~> 0.5", only: [:dev], runtime: false}]
end
end