ueberauth_openstreetmap/mix.exs

58 lines
1.2 KiB
Elixir
Raw Normal View History

2020-10-26 20:44:15 +01:00
defmodule UeberauthOpenStreetMap.Mixfile do
2015-11-18 04:34:55 +01:00
use Mix.Project
@version "0.1.0"
@url "https://forge.tedomum.net/tykayn/ueberauth_openstreetmap"
2015-11-18 04:34:55 +01:00
def project do
2020-10-26 20:44:15 +01:00
[app: :ueberauth_OpenStreetMap,
2015-11-18 04:34:55 +01:00
version: @version,
2020-10-26 20:44:15 +01:00
name: "Ueberauth OpenStreetMap Strategy",
package: package(),
2015-11-18 04:34:55 +01:00
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()]
2015-11-18 04:34:55 +01:00
end
def application do
[applications: [:logger, :httpoison, :oauther, :ueberauth]]
2015-11-18 04:34:55 +01:00
end
defp deps do
[
2018-04-21 04:43:16 +02:00
{:httpoison, "~> 1.0"},
{:oauther, "~> 1.1"},
2019-03-13 05:12:47 +01:00
{:ueberauth, "~> 0.6"},
# dev/test dependencies
{:earmark, ">= 0.0.0", only: :dev},
{:ex_doc, "~> 0.18", only: :dev},
{:credo, "~> 0.8", only: [:dev, :test]}
]
2015-11-18 04:34:55 +01:00
end
defp docs do
[extras: docs_extras(), main: "extra-readme"]
2015-11-18 04:34:55 +01:00
end
defp docs_extras do
["README.md"]
end
defp description do
2020-10-26 20:44:15 +01:00
"An Uberauth strategy for OpenStreetMap authentication."
2015-11-18 04:34:55 +01:00
end
defp package do
[files: ["lib", "mix.exs", "README.md", "LICENSE"],
maintainers: ["Sean Callan"],
licenses: ["MIT"],
links: %{"GitHub": @url}]
end
end