defmodule ESx.Mixfile do use Mix.Project @description """ A client for the Elasticsearch, written in Elixir """ def project do [app: :esx, version: "0.2.1", elixir: "~> 1.3", build_embedded: Mix.env == :prod, start_permanent: Mix.env == :prod, deps: deps(), package: package(), description: @description, ] end # Configuration for the OTP application # # Type "mix help compile.app" for more information def application do [applications: [:logger, :httpoison], mod: {ESx, []}] 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 [ {:httpoison, ">= 0.7.0"}, {:poison, ">= 1.2.0"}, {:exjsx, ">= 3.0.0"}, {:poolboy, ">= 1.0.0 and < 2.0.0"}, {:ecto, ">= 1.1.0", optional: true}, {:credo, "~> 0.5", only: [:dev, :test]}, {:earmark, ">= 0.0.0", only: :dev}, {:ex_doc, "~> 0.10", only: :dev}, {:inch_ex, only: :docs}, ] end defp package do [ maintainers: ["Tatsuo Ikeda / ikeikeikeike"], licenses: ["MIT"], links: %{"GitHub" => "https://github.com/ikeikeikeike/esx"}, ] end end