53 lines
1.1 KiB
Elixir
53 lines
1.1 KiB
Elixir
defmodule UeberauthTwitter.Mixfile do
|
|
use Mix.Project
|
|
|
|
@version "0.2.1"
|
|
@url "https://github.com/ueberauth/ueberauth_twitter"
|
|
|
|
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
|
|
[{:ueberauth, "~> 0.2"},
|
|
{:oauth, github: "tim/erlang-oauth"},
|
|
{:httpoison, "~> 0.7"},
|
|
{: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
|