-
Notifications
You must be signed in to change notification settings - Fork 1
/
mix.exs
40 lines (35 loc) · 871 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
37
38
39
40
defmodule App.Mixfile do
use Mix.Project
def project do
[app: :app,
version: "0.1.0",
elixir: "~> 1.3",
default_task: "server",
build_embedded: Mix.env == :prod,
start_permanent: Mix.env == :prod,
deps: deps(),
aliases: aliases()]
end
def application do
[applications: [:cachex, :logger, :nadia],
mod: {App, []}]
end
defp deps do
[
{:nadia, "~> 0.7.0"},
{:tesla, "~> 1.3.0"},
{:poison, "~> 4.0"},
# upstream without my login_ouath fix
# {:hunter, "~> 0.5.1"}
{:hunter, git: "https://github.com/4DA/hunter.git", branch: "master"},
# for local debugging:
# {:hunter, path: "deps/hunter"},
{:websockex, "~> 0.4.3"},
{:html_sanitize_ex, "~> 1.4.0"},
{:cachex, "~> 3.2"}
]
end
defp aliases do
[server: "run --no-halt"]
end
end