ueberauth_openstreetmap/mix.exs
2020-10-26 20:44:47 +01:00

58 lines
1.2 KiB
Elixir

defmodule UeberauthOpenStreetMap.Mixfile do
use Mix.Project
@version "0.3.0"
@url "https://github.com/ueberauth/ueberauth_OpenStreetMap"
def project do
[app: :ueberauth_OpenStreetMap,
version: @version,
name: "Ueberauth OpenStreetMap Strategy",
package: package(),
elixir: "~> 1.1",
build_embedded: Mix.env == :prod,
start_permanent: Mix.env == :prod,
source_url: @url,
homepage_url: @url,
description: description(),
deps: deps(),
docs: docs()]
end
def application do
[applications: [:logger, :httpoison, :oauther, :ueberauth]]
end
defp deps do
[
{:httpoison, "~> 1.0"},
{:oauther, "~> 1.1"},
{:ueberauth, "~> 0.6"},
# dev/test dependencies
{:earmark, ">= 0.0.0", only: :dev},
{:ex_doc, "~> 0.18", only: :dev},
{:credo, "~> 0.8", only: [:dev, :test]}
]
end
defp docs do
[extras: docs_extras(), main: "extra-readme"]
end
defp docs_extras do
["README.md"]
end
defp description do
"An Uberauth strategy for OpenStreetMap authentication."
end
defp package do
[files: ["lib", "mix.exs", "README.md", "LICENSE"],
maintainers: ["Sean Callan"],
licenses: ["MIT"],
links: %{"GitHub": @url}]
end
end