Current section
Files
Jump to
Current section
Files
oban_sentinel
mix.exs
mix.exs
defmodule ObanSentinel.MixProject do
use Mix.Project
@source_url "https://github.com/magnexis/obansentinel"
@version "0.1.0"
def project do
[
app: :oban_sentinel,
version: @version,
elixir: "~> 1.15",
start_permanent: Mix.env() == :prod,
deps: deps(),
package: package(),
docs: docs(),
description: "Telemetry-driven circuit breakers and execution guards for Oban"
]
end
def application do
[extra_applications: [:logger], mod: {ObanSentinel.Application, []}]
end
defp deps do
[
{:oban, "~> 2.19 or ~> 3.0"},
{:telemetry, "~> 1.2"},
{:jason, "~> 1.4", optional: true},
{:finch, "~> 0.18", optional: true},
{:req, "~> 0.5", optional: true},
{:ex_doc, "~> 0.34", only: :dev, runtime: false}
]
end
defp package do
[
name: "oban_sentinel",
files:
~w(lib assets docs .formatter.exs mix.exs README.md ARCHITECTURE.md CHANGELOG.md CONTRIBUTING.md RELEASING.md SECURITY.md LICENSE),
licenses: ["MIT"],
links: %{"GitHub" => @source_url},
maintainers: ["Magnexis"]
]
end
defp docs, do: [main: "readme", source_ref: "v#{@version}", source_url: @source_url]
end