-
-
Notifications
You must be signed in to change notification settings - Fork 10
/
mix.exs
36 lines (33 loc) · 721 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
33
34
35
36
defmodule Elixre.Mixfile do
use Mix.Project
def project do
[
app: :elixre,
version: "2.0.0",
elixir: "~> 1.4",
build_embedded: Mix.env() == :prod,
start_permanent: Mix.env() == :prod,
deps: deps(),
releases: [
elixre: [
include_executables_for: [:unix],
applications: [runtime_tools: :permanent]
]
]
]
end
def application do
[mod: {Elixre.Application, []}, additional_applications: [:logger]]
end
defp deps do
[
# Webserver.
{:cowboy, "~> 2.0"},
# Web app abstracton.
{:plug, "~> 1.2"},
{:plug_cowboy, "~> 2.0"},
# JSON library
{:poison, "~> 4.0"}
]
end
end