forked from nerves-hub/nerves_hub_ca
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmix.exs
48 lines (44 loc) · 1.04 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
defmodule NervesHubCA.MixProject do
use Mix.Project
def project do
[
app: :nerves_hub_ca,
version: "0.5.0",
elixir: "~> 1.6",
source_url: "https://github.com/nerves-hub/nerves_hub_ca",
start_permanent: Mix.env() == :prod,
docs: docs(),
deps: deps(),
aliases: [test: ["ecto.create --quiet", "ecto.migrate", "test"]]
]
end
# Run "mix help compile.app" to learn about applications.
def application do
[
extra_applications: [:logger, :inets],
mod: {NervesHubCA.Application, []}
]
end
defp docs do
[
extras: [
"README.md"
],
main: "readme"
]
end
# Run "mix help deps" to learn about dependencies.
defp deps do
[
{:ecto_sql, "~> 3.0"},
{:postgrex, "~> 0.14"},
{:x509, "~> 0.5.1 or ~> 0.6"},
{:plug, "~> 1.7"},
{:plug_cowboy, "~> 2.0"},
{:cowboy, "~> 2.1"},
{:jason, "~> 1.0"},
{:distillery, "~> 2.0.0"},
{:ex_doc, "~> 0.18", only: [:test, :dev], runtime: false}
]
end
end