ash_authentication/mix.exs

70 lines
1.6 KiB
Elixir
Raw Normal View History

2022-09-28 09:54:05 +13:00
defmodule AshAuthentication.MixProject do
2022-09-28 10:04:04 +13:00
@moduledoc false
2022-09-28 09:54:05 +13:00
use Mix.Project
2022-09-28 10:04:04 +13:00
@version "0.1.0"
2022-09-28 09:54:05 +13:00
def project do
[
app: :ash_authentication,
2022-09-28 10:04:04 +13:00
version: @version,
2022-09-28 09:54:05 +13:00
elixir: "~> 1.13",
start_permanent: Mix.env() == :prod,
2022-09-28 10:23:40 +13:00
preferred_cli_env: [ci: :test],
aliases: aliases(),
2022-09-28 10:04:04 +13:00
deps: deps(),
2022-09-28 10:11:00 +13:00
package: package(),
dialyzer: [
plt_add_apps: [:mix, :ex_unit],
plt_core_path: "priv/plts",
plt_file: {:no_warn, "priv/plts/dialyzer.plt"}
]
2022-09-28 10:04:04 +13:00
]
end
def package do
[
maintainers: [
"James Harton <james.harton@alembic.com.au>"
],
licenses: ["MIT"],
links: %{
"Source" => "https://github.com/team-alembic/ash_authentication"
},
source_url: "https://github.com/team-alembic/ash_authentication"
2022-09-28 09:54:05 +13:00
]
end
# Run "mix help compile.app" to learn about applications.
def application do
[
extra_applications: [:logger],
mod: {AshAuthentication.Application, []}
]
end
# Run "mix help deps" to learn about dependencies.
defp deps do
[
2022-09-28 10:23:40 +13:00
{:credo, "~> 1.6", only: [:dev, :test], runtime: false},
2022-09-28 10:06:27 +13:00
{:git_ops, "~> 2.4", only: [:dev, :test], runtime: false},
2022-09-28 10:07:26 +13:00
{:ex_doc, ">= 0.0.0", only: [:dev, :test]},
2022-09-28 10:11:00 +13:00
{:doctor, "~> 0.18", only: [:dev, :test]},
{:dialyxir, "~> 1.2", only: [:dev, :test], runtime: false}
2022-09-28 09:54:05 +13:00
]
end
2022-09-28 10:23:40 +13:00
defp aliases do
[
ci: [
"format --check-formatted",
"doctor --full",
"credo --strict",
"dialyzer",
"hex.audit",
"test"
]
]
end
2022-09-28 09:54:05 +13:00
end