defmodule JsonDiffEx.Mixfile do use Mix.Project @version "0.6.5" def project do [app: :json_diff_ex, version: @version, description: "Diff and patch for JSON in Elixir", package: package(), docs: [source_ref: "v#{@version}", main: "JsonDiffEx"], test_coverage: [tool: Coverex.Task], elixir: "~> 1.4", build_embedded: Mix.env == :prod, start_permanent: Mix.env == :prod, deps: deps()] end defp package do [ files: ["lib", "mix.exs", "README*", "LICENSE*"], maintainers: ["Olafur Arason"], licenses: ["Apache 2.0"], links: %{"GitHub" => "https://github.com/olafura/json_diff_ex"} ] end def application do [applications: [:logger]] end defp deps do [ {:poison, "~> 3.1", only: [:dev, :test]}, {:credo, "~> 0.8", only: :dev}, {:earmark, "~> 1.2", only: :dev}, {:ex_doc, "~> 0.16", only: :dev}, {:coverex, "~> 1.4", only: :test}, {:httpoison, "~> 1.0", only: :test}, {:eep, git: "https://github.com/virtan/eep.git", only: :test}, {:stream_data, "~> 0.1", only: :test}, ] end end