2015-11-18 04:34:55 +01:00
|
|
|
defmodule UeberauthTwitter.Mixfile do
|
|
|
|
use Mix.Project
|
|
|
|
|
2016-08-15 16:48:31 +02:00
|
|
|
@version "0.2.3"
|
2015-11-29 04:30:05 +01:00
|
|
|
@url "https://github.com/ueberauth/ueberauth_twitter"
|
2015-11-18 04:34:55 +01:00
|
|
|
|
|
|
|
def project do
|
|
|
|
[app: :ueberauth_twitter,
|
|
|
|
version: @version,
|
|
|
|
name: "Ueberauth Twitter 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, :oauth, :ueberauth]]
|
|
|
|
end
|
|
|
|
|
|
|
|
defp deps do
|
2015-11-29 04:30:05 +01:00
|
|
|
[{:ueberauth, "~> 0.2"},
|
2015-11-18 04:34:55 +01:00
|
|
|
{:oauth, github: "tim/erlang-oauth"},
|
|
|
|
{:httpoison, "~> 0.7"},
|
2016-10-27 17:34:37 +02:00
|
|
|
{:poison, "~> 1.3 or ~> 2.0"},
|
2015-11-18 04:34:55 +01:00
|
|
|
{:ex_doc, "~> 0.1", only: :dev},
|
|
|
|
{:earmark, ">= 0.0.0", only: :dev}]
|
|
|
|
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 Twitter authentication."
|
|
|
|
end
|
|
|
|
|
|
|
|
defp package do
|
|
|
|
[files: ["lib", "mix.exs", "README.md", "LICENSE"],
|
|
|
|
maintainers: ["Sean Callan"],
|
|
|
|
licenses: ["MIT"],
|
|
|
|
links: %{"GitHub": @url}]
|
|
|
|
end
|
|
|
|
end
|