defmodule Mongodb.Mixfile do use Mix.Project def project do [app: :mongox, version: "0.1.2", elixir: "~> 1.2", deps: deps, name: "MongoX", source_url: "https://github.com/emerleite/mongox", docs: fn -> {ref, 0} = System.cmd("git", ["rev-parse", "--verify", "--quiet", "HEAD"]) [source_ref: ref, main: "README", readme: "README.md"] end, description: description, package: package] end def application do [applications: [:logger, :connection], mod: {Mongo, []}, env: []] end defp deps do [{:connection, "~> 1.0"}, {:poolboy, "~> 1.5", optional: true}, {:ex_doc, ">= 0.0.0", only: :docs}, {:earmark, ">= 0.0.0", only: :docs}, {:inch_ex, ">= 0.0.0", only: :docs}] end defp description do "MongoDB driver for Elixir. Full Replica Set Support" end defp package do [ name: :mongox, maintainers: ["Emerson Macedo Leite"], licenses: ["Apache 2.0"], links: %{"Github" => "https://github.com/emerleite/mongox"} ] end end