defmodule Gmail.Mixfile do use Mix.Project def project do [app: :gmail, version: "0.1.3", elixir: "~> 1.2", deps: deps, test_coverage: [tool: ExCoveralls], preferred_cli_env: ["coveralls": :test, "coveralls.detail": :test, "coveralls.post": :test], description: "A simple Gmail REST API client for Elixir", package: package] end def application do [applications: [:logger, :httpoison], mod: {Gmail, []}] end defp deps do [ {:httpoison, "~> 0.8"}, {:poison, "~> 2.1"}, {:timex, "~> 1.0"}, {:mock, "~> 0.1", only: :test}, {:excoveralls, "~> 0.5", only: :test}, {:earmark, "~> 0.2", only: :dev}, {:ex_doc, "~> 0.11", only: :dev}, {:dialyxir, "~> 0.3", only: :dev}, {:credo, "~> 0.3", only: :dev}, {:bypass, "~> 0.1", only: :test}, {:inch_ex, "~> 0.5", only: :docs} ] end defp package do [ files: ["lib", "mix.exs", "README*", "LICENSE*"], licenses: ["MIT"], maintainers: ["Craig Paterson"], links: %{"Github" => "https://github.com/craigp/elixir-gmail"} ] end end