-
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmix.exs
More file actions
51 lines (45 loc) · 1.13 KB
/
Copy pathmix.exs
File metadata and controls
51 lines (45 loc) · 1.13 KB
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
# SPDX-License-Identifier: MPL-2.0
defmodule NetworkDashboard.MixProject do
use Mix.Project
def project do
[
app: :network_dashboard,
version: "0.1.0",
elixir: "~> 1.17",
elixirc_paths: elixirc_paths(Mix.env()),
start_permanent: Mix.env() == :prod,
aliases: aliases(),
deps: deps(),
name: "NetworkDashboard",
description: "FlatRacoon network module status dashboard"
]
end
def application do
[
mod: {NetworkDashboard.Application, []},
extra_applications: [:logger, :runtime_tools]
]
end
defp elixirc_paths(:test), do: ["lib", "test/support"]
defp elixirc_paths(_), do: ["lib"]
defp deps do
[
{:phoenix, "~> 1.7"},
{:phoenix_html, "~> 4.1"},
{:phoenix_live_view, "~> 1.0"},
{:phoenix_live_reload, "~> 1.5", only: :dev},
{:phoenix_live_dashboard, "~> 0.8"},
{:telemetry_metrics, "~> 1.0"},
{:telemetry_poller, "~> 1.1"},
{:jason, "~> 1.4"},
{:req, "~> 0.5"},
{:bandit, "~> 1.5"}
]
end
defp aliases do
[
setup: ["deps.get"],
"assets.deploy": ["phx.digest"]
]
end
end