Packages

Advanced job monitoring and filtering for Oban with persistent job history

Current section

Files

Jump to
oban_lens mix.exs
Raw

mix.exs

defmodule ObanLens.MixProject do
use Mix.Project
@version "0.1.3"
@description "Advanced job monitoring and filtering for Oban with persistent job history"
def project do
[
app: :oban_lens,
version: @version,
elixir: "~> 1.14",
elixirc_paths: elixirc_paths(Mix.env()),
start_permanent: Mix.env() == :prod,
deps: deps(),
description: @description,
package: package(),
docs: docs(),
name: "ObanLens",
source_url: "https://github.com/fawidev/ObanLens"
]
end
def application do
[
extra_applications: [:logger],
mod: {ObanLens.Application, []}
]
end
defp elixirc_paths(:test), do: ["lib", "test/support"]
defp elixirc_paths(_), do: ["lib"]
defp deps do
[
{:oban, "~> 2.15"},
{:ecto, "~> 3.10"},
{:ecto_sql, "~> 3.10"},
{:phoenix, "~> 1.7"},
{:phoenix_live_view, "~> 0.20 or ~> 1.0"},
{:phoenix_html, "~> 3.3"},
{:telemetry, "~> 1.0"},
{:jason, "~> 1.4"},
{:csv, "~> 3.2"},
# Development and test
{:postgrex, "~> 0.17", only: [:dev, :test]},
{:ex_doc, "~> 0.31", only: :dev, runtime: false},
{:credo, "~> 1.7", only: [:dev, :test], runtime: false}
]
end
defp package do
[
maintainers: ["Fawi Dev"],
licenses: ["Apache-2.0"],
links: %{
"GitHub" => "https://github.com/fawidev/ObanLens",
"Docs" => "https://hexdocs.pm/oban_lens"
},
files: ~w(lib priv mix.exs README.md CHANGELOG.md LICENSE)
]
end
defp docs do
[
main: "ObanLens",
extras: ["README.md", "CHANGELOG.md"]
]
end
end