2015-11-18 04:34:55 +01:00
|
|
|
defmodule UeberauthTwitter.Mixfile do
|
|
|
|
use Mix.Project
|
|
|
|
|
2016-12-27 05:12:19 +01:00
|
|
|
@version "0.2.4"
|
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",
|
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"},
|
2018-07-13 02:56:14 +02:00
|
|
|
{:poison, "~> 2.0 or ~> 3.0"},
|
2018-02-13 19:29:42 +01:00
|
|
|
{:ueberauth, "~> 0.4"},
|
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
|
|
|
|
"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
|