defmodule Propcheck.Mixfile do use Mix.Project def project do [app: :propcheck, version: "1.1.1", elixir: "~> 1.3", elixirc_paths: elixirc_paths(Mix.env), build_embedded: Mix.env == :prod, start_permanent: Mix.env == :prod, test_coverage: [tool: Coverex.Task, console_log: true], package: package(), name: "PropCheck - Property Testing", source_url: "https://github.com/alfert/propcheck", homepage_url: "https://github.com/alfert/propcheck", docs: [main: "readme", extras: ["README.md", "CHANGELOG.md"], extra_section: "Overview"], description: description(), propcheck: [counter_examples: "_build/propcheck.ctx"], aliases: aliases(), deps: deps()] end # Hex Package description defp description do """ PropCheck provides property based testing and is an Elixir layer around PropEr. It is also inspired by Quvic's QuickCheck Elixir library. """ end # Hex Package definition defp package do [maintainers: ["Klaus Alfert"], licenses: ["GPL 3.0"], links: %{"GitHub" => "https://github.com/alfert/propcheck"} ] end # Configuration for the OTP application # # Type `mix help compile.app` for more information def application do [applications: [:logger, :proper], mod: {PropCheck.App, []}] end # Specifies which paths to compile per environment defp elixirc_paths(:test), do: ["lib", "test/support"] defp elixirc_paths(_), do: ["lib"] def aliases() do [clean: ["clean", "propcheck.clean"]] 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 [ {:dialyxir, "~> 0.5.1", only: [:dev, :test]}, {:coverex, "~> 1.4", only: :test}, {:ex_doc, "~>0.16", only: :dev}, {:earmark, ">= 0.2.1", only: :dev}, {:proper, "~> 1.2.0"} ] end end