Current section

Files

Jump to
flame_on mix.exs
Raw

mix.exs

defmodule FlameOn.MixProject do
use Mix.Project
def project do
[
app: :flame_on,
version: "1.0.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
[
files: ~w(lib mix.exs README.md LICENSE.md CHANGELOG.md),
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.4", only: :dev, runtime: false},
{:ex_doc, "~> 0.28.0", only: :dev, runtime: false},
{:ecto, "~> 3.7"},
{:meck, "~> 0.9.2"},
{:gettext, "~> 0.21 or ~> 1.0"},
{:jason, "~> 1.0"},
{:phoenix_ecto, "~> 4.7.0"},
{:phoenix_live_dashboard, "~> 0.8.3"},
{:phoenix_live_view, "~> 1.0"},
{:phoenix_html, "~> 4.0"},
{:phoenix_html_helpers, "~> 1.0.1"}
]
end
end