Current section
Files
Jump to
Current section
Files
mix.exs
defmodule Mobius.MixProject do
use Mix.Project
@version "0.3.6"
def project do
[
app: :mobius,
version: @version,
elixir: "~> 1.11",
start_permanent: Mix.env() == :prod,
deps: deps(),
dialyzer: dialyzer(),
description: description(),
package: package(),
docs: docs(),
preferred_cli_env: [docs: :docs, "hex.publish": :docs]
]
end
# Run "mix help compile.app" to learn about applications.
def application do
[
extra_applications: [:logger]
]
end
# Run "mix help deps" to learn about dependencies.
defp deps do
[
{:ex_doc, "~> 0.24", only: :docs, runtime: false},
{:dialyxir, "~> 1.0", only: [:dev], runtime: false},
{:credo, "~> 1.4", only: [:dev, :test], runtime: false},
{:telemetry, "~> 0.4.3 or ~> 1.0"},
{:telemetry_metrics, "~> 0.6.0"},
{:circular_buffer, "~> 0.4.0"}
]
end
defp docs() do
[
extras: ["README.md", "CHANGELOG.md"],
main: "readme",
source_ref: "v#{@version}",
source_url: "https://github.com/mattludwigs/mobius",
skip_undefined_reference_warnings_on: ["CHANGELOG.md"]
]
end
defp description do
"Local metrics library"
end
defp package do
[
licenses: ["Apache-2.0"],
links: %{"GitHub" => "https://github.com/mattludwigs/mobius"}
]
end
defp dialyzer() do
[
flags: [:unmatched_returns, :error_handling, :race_conditions],
plt_add_apps: [:eex, :mix]
]
end
end