defmodule Scratcher.Hackney.MixProject do use Mix.Project def project do [ app: :scratcher_hackney, version: "0.1.0", elixir: "~> 1.3", elixirc_paths: elixirc_paths(Mix.env()), start_permanent: Mix.env() == :prod, description: "Module for using Hackany as Scratcher's HTTP Client", package: [ maintainers: ["Ryo Ito"], licenses: ["MIT"], links: %{"GitHub" => "https://github.com/ritou/elixir-scratcher-hackney"} ], deps: deps() ] end # Run "mix help compile.app" to learn about applications. def application do [ extra_applications: [:logger] ] end def elixirc_paths(:test), do: ["lib", "test/support"] def elixirc_paths(_), do: ["lib"] # Run "mix help deps" to learn about dependencies. defp deps do [ {:scratcher, "~> 0.1"}, {:hackney, "~> 1.16"}, # for docs {:ex_doc, "~> 0.21.3", only: :dev, runtime: false} ] end end