defmodule Apostle.Mixfile do use Mix.Project def project do [ app: :apostle, version: "0.0.2", elixir: "~> 1.0", deps: deps, package: [ contributors: ["James Harton"], licenses: ["MIT"], links: %{github: "https://github.com/jamesotron/apostle-elixir"} ], description: """ Elixir client for Apostle.io. """ ] end # Configuration for the OTP application # # Type `mix help compile.app` for more information def application do [applications: applications(Mix.env)] end defp applications :dev do [ :dotenv | applications ] end defp applications :test do applications :dev end defp applications _ do applications end defp applications do [:logger] end # Dependencies can be Hex packages: # # {:mydep, "~> 0.3.0"} # # Or git/path repositories: # # {:mydep, git: "https://github.com/elixir-lang/mydep.git", tag: "0.1.0"} # # Type `mix help deps` for more examples and options defp deps do [ {:exvcr, "~> 0.4.0", only: [:test]}, {:poison, "~> 1.4.0"}, {:httpoison, "~> 0.7.0"}, {:dotenv, "~> 1.0.0", only: [:dev, :test]} ] end end