defmodule BtrzAuth.MixProject do use Mix.Project @github_url "https://github.com/Betterez/btrz_ex_auth_api" @version "0.5.0" def project do [ app: :btrz_auth, version: @version, name: "BtrzAuth", description: "Elixir package for authentication handling using Plug and Guardian (JWT)", source_url: @github_url, homepage_url: @github_url, elixir: "~> 1.5", start_permanent: Mix.env() == :prod, deps: deps(), docs: docs(), package: package(), aliases: aliases(), test_coverage: [tool: ExCoveralls] ] 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 [ {:ex_doc, "~> 0.16", only: :dev, runtime: false}, {:plug, "~> 1.4"}, {:guardian, "~> 1.0"}, {:excoveralls, "~> 0.8", only: :test}, {:httpoison, "~> 1.0"}, {:poison, "~> 3.1"}, {:junit_formatter, "~> 2.1", only: :test} ] end defp docs do [ main: "BtrzAuth", source_ref: "v#{@version}", source_url: @github_url, extras: ["README.md"] ] end defp aliases do [ test: ["coveralls"] ] end defp package do %{ name: "btrz_ex_auth_api", licenses: ["MIT"], maintainers: ["Hernán García", "Pablo Brudnick"], links: %{"GitHub" => @github_url} } end end