defmodule RecursiveSelectiveMatch.MixProject do use Mix.Project def project do [ name: "RecursiveSelectiveMatch", description: "Library enabling testing of deeply nested data structures while selectively ignoring irrelevant data elements / subtrees or testing just values' datatypes using :anything, :any_list, :any_map, :any_tuple, etc. or arbitary anonymous functions, like regexes or even multiple criteria", package: package(), source_url: "https://github.com/JamesLavin/recursive_selective_match", app: :recursive_selective_match, docs: [main: "RecursiveSelectiveMatch", extras: ["README.md"]], version: "0.2.4", elixir: "~> 1.6", elixirc_paths: elixirc_paths(Mix.env()), start_permanent: Mix.env() == :prod, deps: deps() ] end def application do [ extra_applications: [:logger] ] end defp deps do [ {:ex_doc, "~> 0.19", only: :dev, runtime: false}, {:atomic_map, "~> 0.8"} ] end defp elixirc_paths(:test), do: ["lib", "test/support"] defp elixirc_paths(_), do: ["lib"] defp package() do [ maintainers: ["James Lavin"], licenses: ["Apache 2.0"], links: %{"Github" => "https://github.com/JamesLavin/recursive_selective_match"}, source_url: "https://github.com/JamesLavin/recursive_selective_match" ] end end