Current section
Files
Jump to
Current section
Files
mix.exs
defmodule KeenAuth.MixProject do
use Mix.Project
def project do
[
app: :keen_auth,
version: "1.0.0",
elixir: "~> 1.14",
start_permanent: Mix.env() == :prod,
description: description(),
package: package(),
deps: deps(),
name: "KeenAuth",
source_url: "https://github.com/KeenMate/keen_auth.git"
]
end
# Run "mix help compile.app" to learn about applications.
def application do
[
extra_applications: [:logger, :inets]
]
end
# Run "mix help deps" to learn about dependencies.
defp deps do
[
{:ex_doc, "~> 0.34", only: :dev, runtime: false},
{:phoenix, ">= 1.6.7"},
{:assent, "~> 0.3.0"},
{:joken, "~> 2.6"},
# HTTP client for Assent OAuth requests (handles SSL properly)
{:req, "~> 0.5"}
]
end
defp description() do
"Library faciliating OpenID authentication flow throughout Phoenix application(s)"
end
defp package() do
[
# This option is only needed when you don't want to use the OTP application name
name: "keen_auth",
# organization: "keenmate",
# These are the default files included in the package
files: ~w(lib .formatter.exs mix.exs README.md LICENSE),
licenses: ["MIT"],
links: %{"GitHub" => "https://github.com/KeenMate/keen_auth"}
]
end
end