defmodule Authenticator.Mixfile do use Mix.Project def project do [ app: :authenticator, version: "0.1.0", elixir: "~> 1.5", elixirc_paths: elixirc_paths(Mix.env()), start_permanent: Mix.env() == :prod, deps: deps(), docs: [extras: ["README.md"]], package: package() ] end # Run "mix help compile.app" to learn about applications. def application do [ extra_applications: [:logger] ] end defp package do [ description: "Provides the glue for authenticating HTTP requests.", maintainers: ["Ray Zane"], licenses: ["MIT"], links: %{"GitHub" => "https://github.com/rzane/authenticator"} ] end # Specifies which paths to compile per environment. defp elixirc_paths(:test), do: ["lib", "test/support"] defp elixirc_paths(_), do: ["lib"] # Run "mix help deps" to learn about dependencies. defp deps do [ {:plug, ">= 0.0.0"}, {:ex_doc, ">= 0.0.0", only: [:dev, :test]} ] end end