podbox_ash/mix.exs

87 lines
2.3 KiB
Elixir
Raw Normal View History

2024-05-21 19:15:08 +12:00
defmodule Podbox.MixProject do
use Mix.Project
2024-05-22 13:17:21 +12:00
@moduledoc """
A project for downloading and playing podcasts.
"""
@version "0.1.0"
2024-05-21 19:15:08 +12:00
def project do
[
app: :podbox,
2024-05-22 13:17:21 +12:00
version: @version,
2024-05-21 19:15:08 +12:00
elixir: "~> 1.16",
2024-05-22 13:17:21 +12:00
elixirc_paths: elixirc_paths(Mix.env()),
package: package(),
deps: deps(),
description: @moduledoc,
2024-05-21 19:15:08 +12:00
start_permanent: Mix.env() == :prod,
2024-05-22 13:17:21 +12:00
deps: deps(),
aliases: aliases(),
2024-05-22 13:17:21 +12:00
docs: [
main: "readme",
extras: ["README.md", "CHANGELOG.md"]
]
]
end
def package do
[
maintainers: ["James Harton <james@harton.nz>"],
licenses: ["HL3-FULL"],
links: %{
"Source" => "https://harton.dev/james/podbox",
"Changelog" => "https://docs.harton.nz/james/podbox/changelog.html",
"Sponsor" => "https://github.com/sponsors/jimsynz"
}
2024-05-21 19:15:08 +12:00
]
end
# Run "mix help compile.app" to learn about applications.
def application do
[
extra_applications: [:logger],
2024-05-22 13:17:21 +12:00
mod: {Podbox.Application, [:runtime_tools, :inets]}
2024-05-21 19:15:08 +12:00
]
end
# Run "mix help deps" to learn about dependencies.
defp deps do
[
2024-05-22 13:17:21 +12:00
{:ash_sqlite, "~> 0.1"},
{:ash, "~> 3.0"},
{:broadway, "~> 1.0"},
{:calendar, "~> 1.0"},
2024-05-22 13:17:21 +12:00
{:fast_rss, "~> 0.5"},
{:finch, "~> 0.18"},
{:gen_stage, "~> 1.2"},
{:reactor, "~> 0.9"},
2024-05-22 13:17:21 +12:00
{:splode, "~> 0.2"},
{:telemetry, "~> 1.2"},
# Dev/test
{:credo, "~> 1.6", only: ~w[dev test]a, runtime: false},
{:dialyxir, "~> 1.4", only: ~w[dev test]a, runtime: false},
{:doctor, "~> 0.21", only: ~w[dev test]a, runtime: false},
{:earmark, "~> 1.4", only: ~w[dev test]a, runtime: false},
{:elixir_make, "~> 0.8", only: ~w[dev test]a, runtime: false, override: true},
{:ex_check, "~> 0.16", only: ~w[dev test]a, runtime: false},
{:ex_doc, "~> 0.30", only: ~w[dev test]a, runtime: false},
{:faker, "~> 0.18", only: ~w[dev test]a, runtime: false},
{:git_ops, "~> 2.4", only: ~w[dev test]a, runtime: false},
{:mimic, "~> 1.5", only: :test},
{:smokestack, "~> 0.8", only: ~w[dev test]a, runtime: false}
2024-05-21 19:15:08 +12:00
]
end
2024-05-22 13:17:21 +12:00
defp elixirc_paths(:test), do: ["lib", "test/support"]
defp elixirc_paths(_), do: ["lib"]
defp aliases do
[
test: ["ecto.create --quiet", "ecto.migrate --quiet", "test"]
]
end
2024-05-21 19:15:08 +12:00
end