Current section
Files
Jump to
Current section
Files
ueberauth_indieauth
mix.exs
mix.exs
defmodule Ueberauth.Strategy.IndieAuth.MixProject do
use Mix.Project
@description "Provides IndieWeb authentication (IndieAuth) support to Ueberauth."
def project do
[
app: :ueberauth_indieauth,
version: "0.0.1",
elixir: "~> 1.7",
elixirc_paths: elixirc_paths(Mix.env()),
start_permanent: Mix.env() == :prod,
build_embedded: Mix.env() == :prod,
description: @description,
package: package(),
homepage_url: "https://indieweb.org/",
docs: [
source_url: "https://git.jacky.wtf/indieweb/ueberauth_indieauth",
source_url_pattern:
"https://git.jacky.wtf/indieweb/ueberauth_indieauth/src/branch/master/%{path}#L%{line}"
],
deps: deps()
]
end
defp package() do
[
description: @description,
licenses: ["APGL v3.0"],
links: %{
"Source Code" => "https://git.jacky.wtf/indieweb/ueberauth_indieauth",
"GitHub Mirror" => "https://github.com/blackaf/ueberauth_indieauth",
"IndieWeb" => "https://indieweb.org",
"IndieAuth spec" => "https://indieauth.spec.indieweb.org"
}
]
end
# Run "mix help compile.app" to learn about applications.
def application do
[
extra_applications: [:logger]
]
end
defp elixirc_paths(:test), do: ["lib", "test/support"]
defp elixirc_paths(_), do: ["lib"]
# Run "mix help deps" to learn about dependencies.
defp deps do
[
{:ex_doc, ">= 0.0.0", only: :dev},
{:indieweb, "~> 0.0.40"},
{:oauth2, "~> 0.9"},
{:ueberauth, "~> 0.6.1", optional: true}
# {:dep_from_hexpm, "~> 0.3.0"},
# {:dep_from_git, git: "https://github.com/elixir-lang/my_dep.git", tag: "0.1.0"}
]
end
end