Current section
Files
Jump to
Current section
Files
hatch_tracing
mix.exs
mix.exs
defmodule HatchTracing.MixProject do
use Mix.Project
@version "0.3.1"
@source_url "https://github.com/Hatch1fy/hatch-tracing"
def project do
[
app: :hatch_tracing,
version: @version,
name: "HatchTracing",
description: "Helps you to create OpenTelemetry spans with the least effort",
source_url: @source_url,
homepage_url: @source_url,
elixir: "~> 1.14",
start_permanent: Mix.env() == :prod,
deps: deps(),
docs: docs(),
package: package()
]
end
# Run "mix help compile.app" to learn about applications.
def application do
[
extra_applications: [:logger]
]
end
defp docs do
[
main: "HatchTracing",
logo: "assets/logo.jpg",
source_ref: "v#{@version}",
canonical: "http://hexdocs.pm/hatch_tracing",
extras: [
"README.md",
"CHANGELOG.md": [filename: "changelog", title: "Changelog"],
LICENSE: [filename: "license", title: "License"]
]
]
end
defp package do
[
name: "hatch_tracing",
maintainers: ["Hatch"],
licenses: ["MIT"],
links: %{"GitHub" => @source_url}
]
end
# Run "mix help deps" to learn about dependencies.
defp deps do
[
{:opentelemetry_api, "~> 1.5"},
{:opentelemetry_exporter, "~> 1.10"},
# dev and test
{:sobelow, "~> 0.14", only: [:dev, :test], runtime: false},
{:mix_audit, "~> 2.1", only: [:dev, :test], runtime: false},
{:credo, "~> 1.7", only: [:dev, :test], runtime: false},
{:ex_doc, "~> 0.38", only: :dev, runtime: false}
]
end
end