Current section
Files
Jump to
Current section
Files
mix.exs
defmodule Ditliti.MixProject do
use Mix.Project
@source_url "https://github.com/kangartha/inspectora"
def project do
[
app: :ditliti,
version: "0.1.2",
elixir: "~> 1.14",
start_permanent: Mix.env() == :prod,
deps: deps(),
description: "Official Elixir SDK for Ditliti (error tracking, tracing, replays, and profiling ingestion).",
package: package(),
docs: [
main: "Ditliti",
source_url: @source_url
]
]
end
def application do
[
extra_applications: [:logger, :inets, :ssl]
]
end
defp deps do
[
# :telemetry is a near-universal transitive dependency of any
# Phoenix/Ecto app already - used only to auto-instrument Ecto
# queries (Ditliti.Db.attach_ecto_telemetry/3), optional otherwise.
{:telemetry, "~> 1.0"},
# mix hex.publish builds docs before publishing; without this, it
# fails outright with "the docs task is unavailable".
{:ex_doc, ">= 0.0.0", only: :dev, runtime: false}
]
end
defp package do
[
name: "ditliti",
licenses: ["MIT"],
links: %{"GitHub" => @source_url},
files: ~w(lib mix.exs README.md LICENSE)
]
end
end