-
Notifications
You must be signed in to change notification settings - Fork 18
/
mix.exs
72 lines (65 loc) · 1.74 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
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
defmodule FlameOn.MixProject do
use Mix.Project
def project do
[
app: :flame_on,
version: "0.7.0",
elixir: "~> 1.15",
elixirc_paths: elixirc_paths(Mix.env()),
start_permanent: Mix.env() == :prod,
deps: deps(),
description: description(),
dialyzer: [
ignore_warnings: ".dialyzer_ignore.exs",
list_unused_filters: true,
plt_file: {:no_warn, "plts/flame_on.plt"},
plt_add_apps: [:ex_unit, :mix]
],
docs: docs(),
package: package(),
source_url: "https://github.com/DockYard/flame_on"
]
end
# Run "mix help compile.app" to learn about applications.
def application do
[
extra_applications: [:logger]
]
end
defp elixirc_paths(:test), do: ["lib", "test/support"]
defp elixirc_paths(_), do: ["lib"]
defp docs() do
[
main: "readme",
assets: "assets/",
extras: ["README.md"]
]
end
def description do
"Add Flame graphs to Live Dashboard or your own LiveView"
end
defp package do
[
licenses: ["MIT"],
links: %{"GitHub" => "https://github.com/DockYard/flame_on"}
]
end
# Run "mix help deps" to learn about dependencies.
defp deps do
[
{:ets, "~> 0.9.0"},
{:dialyxir, "~> 1.4.1", only: [:dev, :test], runtime: false},
{:mix_test_watch, "~> 1.1.0", only: :dev, runtime: false},
{:ex_doc, "~> 0.28.0", only: :dev, runtime: false},
{:ecto, "~> 3.7"},
{:meck, "~> 0.9.2"},
{:gettext, "~> 0.21"},
{:jason, "~> 1.0"},
{:phoenix_ecto, "~> 4.6.1"},
{:phoenix_live_dashboard, "~> 0.8.3"},
{:phoenix_live_view, "~> 0.20.14"},
{:phoenix_html, "~> 4.0"},
{:phoenix_html_helpers, "~> 1.0.1"}
]
end
end