-
Notifications
You must be signed in to change notification settings - Fork 1
/
mix.exs
52 lines (49 loc) · 1.24 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
defmodule Webserver.MixProject do
use Mix.Project
def project do
[
app: :webserver,
version: "0.1.0",
elixir: "~> 1.6",
start_permanent: Mix.env() == :prod,
deps: deps(),
dialyzer: [
plt_add_deps: :transitive,
flags: [:unmatched_returns, :error_handling, :race_conditions, :no_opaque],
paths: ["_build/dev/lib/webserver/ebin"],
dialyzer: [ignore_warnings: "dialyzer.ignore-warnings"]
]
]
end
# Run "mix help compile.app" to learn about applications.
def application do
[
mod: {Webserver, []},
applications: [
:numerix,
:gen_stage,
:flow,
:cowboy,
:plug,
:partisan,
:lasp
],
extra_applications: [:exfmt, :logger]
]
end
# Run "mix help deps" to learn about dependencies.
defp deps do
[
{:cowboy, "~> 2.4.0"},
{:lasp, "~> 0.8.2"},
{:poison, "~> 3.1"},
{:plug, "~> 1.5.1"},
{:cors_plug, "~> 1.5"},
{:exsamples, "~> 0.1.0"},
{:numerix, "~> 0.5.1"},
{:partisan, git: "https://github.com/GrispLasp/partisan.git", override: true},
{:exfmt, "~> 0.1.0"},
{:dialyxir, "~> 0.5", only: [:dev], runtime: false}
]
end
end