-
Notifications
You must be signed in to change notification settings - Fork 12
/
Copy pathmix.exs
37 lines (33 loc) · 794 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
defmodule DocsetApi.Mixfile do
use Mix.Project
def project do
[
app: :docset_api,
version: "0.1.0",
elixir: "~> 1.10",
elixirc_paths: elixirc_paths(Mix.env()),
build_embedded: Mix.env() == :prod,
start_permanent: Mix.env() == :prod,
deps: deps()
]
end
def application do
[
mod: {DocsetApi, []}
]
end
defp elixirc_paths(:test), do: ["lib", "web", "test/support"]
defp elixirc_paths(_), do: ["lib", "web"]
defp deps do
[
{:phoenix, "~> 1.5"},
{:phoenix_html, "~> 2.14"},
{:plug_cowboy, "~> 2.3"},
{:httpoison, "~> 1.7"},
{:poison, "~> 2.2 or ~> 3.0 or ~> 4.0"},
{:sqlitex, "~> 1.7"},
{:esqlite, "~> 0.7.0", override: true},
{:floki, "~> 0.28"}
]
end
end