defmodule Govtrack.Mixfile do use Mix.Project def project do [ app: :govtrack, version: "0.7.2", elixir: "~> 1.2", build_embedded: Mix.env == :prod, start_permanent: Mix.env == :prod, description: description, package: package, deps: deps, preferred_cli_env: [ vcr: :test, "vcr.delete": :test, "vcr.check": :test, "vcr.show": :test ] ] end def application do [applications: [ :httpoison, :logger ] ] end defp deps do [ {:httpoison, "~> 0.9.1"}, {:poison, "~> 2.2.0"}, {:exvcr, "~> 0.8", only: :test}, {:ex_doc, "~> 0.12", only: :dev} ] end defp description do """ An elixir wrapper for the govtrack.us API that provides programmatic access to information about the U.S. Congress. """ end defp package do [ name: :govtrack, files: ["lib", "mix.exs", "README*", "LICENSE*"], maintainers: ["Walter Beller-Morales"], licenses: ["MIT"], links: %{"GitHub" => "https://github.com/walterbm/govtrack-elixir"} ] end end