defmodule ExTwitter.Mixfile do use Mix.Project def project do [ app: :extwitter, version: "0.1.1", elixir: "~> 0.14.2", deps: deps(Mix.env), description: description, package: package, test_coverage: [tool: ExCoveralls] ] end # Configuration for the OTP application def application do [ mod: { ExTwitter, [] }, applications: [:inets, :ssl, :crypto]] end # Returns the list of dependencies in the format: # { :foobar, git: "https://github.com/elixir-lang/foobar.git", tag: "0.1" } # # To specify particular versions, regardless of the tag, do: # { :barbat, "~> 0.1", github: "elixir-lang/barbat" } def deps(:test) do deps(:dev) end def deps(:dev) do deps(:prod) ++ [ {:exvcr, "~> 0.1"}, {:excoveralls, "~> 0.2"}, {:meck, "0.8.2", github: "eproxus/meck"} ] end def deps(:prod) do [ {:oauth, github: "tim/erlang-oauth"}, {:jsex, "~> 2.0"} ] end defp description do """ Twitter client library for elixir. """ end defp package do [ contributors: ["parroty"], licenses: ["MIT"], links: [ { "GitHub", "https://github.com/parroty/extwitter" } ] ] end end