defmodule UeberauthWordpress.MixProject do use Mix.Project def project do [ app: :ueberauth_wordpress, version: "0.1.0", name: "Ueberauth Wordpress Strategy", package: package(), elixir: "~> 1.10", build_embedded: Mix.env() == :prod, start_permanent: Mix.env() == :prod, description: description(), deps: deps(), docs: docs() ] end # Run "mix help compile.app" to learn about applications. def application do [ extra_applications: [:logger] ] end # Run "mix help deps" to learn about dependencies. defp deps do [ {:oauth2, "~> 1.0 or ~> 2.0"}, {:ueberauth, "~> 0.6.3"}, {:credo, ">= 0.0.0", only: [:dev, :test], runtime: false}, {:ex_doc, ">= 0.0.0", only: [:dev], runtime: false}, {:mock, "~> 0.3", only: :test} ] end defp docs do [extras: ["README.md"]] end defp description do "An Uberauth strategy for Wordpress authentication." end defp package do [ files: ["lib", "mix.exs", "README.md", "LICENSE"], maintainers: ["Derek Zhou"], licenses: ["MIT"], links: %{"GitHub" => "https://github.com/derek-zhou/ueberauth_wordpress"} ] end end