defmodule Scratcher.MixProject do use Mix.Project def project do [ app: :scratcher, version: "0.1.1", elixir: "~> 1.3", elixirc_paths: elixirc_paths(Mix.env()), start_permanent: Mix.env() == :prod, description: "Scratcher is a library for calling various HTTP Clients equivalently.", package: [ maintainers: ["Ryo Ito"], licenses: ["MIT"], links: %{"GitHub" => "https://github.com/ritou/elixir-scratcher"} ], 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 [ # {:dep_from_hexpm, "~> 0.3.0"}, # {:dep_from_git, git: "https://github.com/elixir-lang/my_dep.git", tag: "0.1.0"} # for docs {:ex_doc, "~> 0.21.3", only: :dev, runtime: false} ] end end