2020-10-26 20:44:15 +01:00
|
|
|
defmodule UeberauthOpenStreetMap.Mixfile do
|
2015-11-18 04:34:55 +01:00
|
|
|
use Mix.Project
|
|
|
|
|
2020-10-26 20:49:22 +01:00
|
|
|
@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",
|
2017-03-15 20:15:49 +01:00
|
|
|
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,
|
2017-03-15 20:15:49 +01:00
|
|
|
description: description(),
|
|
|
|
deps: deps(),
|
|
|
|
docs: docs()]
|
2015-11-18 04:34:55 +01:00
|
|
|
end
|
|
|
|
|
|
|
|
def application do
|
2017-03-15 20:15:49 +01:00
|
|
|
[applications: [:logger, :httpoison, :oauther, :ueberauth]]
|
2015-11-18 04:34:55 +01:00
|
|
|
end
|
|
|
|
|
|
|
|
defp deps do
|
2017-01-11 02:11:03 +01:00
|
|
|
[
|
2018-04-21 04:43:16 +02:00
|
|
|
{:httpoison, "~> 1.0"},
|
2017-03-15 20:15:49 +01:00
|
|
|
{:oauther, "~> 1.1"},
|
2019-03-13 05:12:47 +01:00
|
|
|
{:ueberauth, "~> 0.6"},
|
2017-01-11 02:11:03 +01:00
|
|
|
|
|
|
|
# dev/test dependencies
|
|
|
|
{:earmark, ">= 0.0.0", only: :dev},
|
2018-02-13 19:29:42 +01:00
|
|
|
{:ex_doc, "~> 0.18", only: :dev},
|
|
|
|
{:credo, "~> 0.8", only: [:dev, :test]}
|
2017-01-11 02:11:03 +01:00
|
|
|
]
|
2015-11-18 04:34:55 +01:00
|
|
|
end
|
|
|
|
|
|
|
|
defp docs do
|
2017-03-15 20:15:49 +01:00
|
|
|
[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
|