defmodule Propcheck.Mixfile do use Mix.Project def project do [app: :propcheck, version: "0.0.2", 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: [extras: ["README.md"], extra_section: "Overview"], description: description(), 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 Quuvic'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"] # 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 [ {:dialyze, "0.2.0", only: [:dev, :test]}, {:coverex, "~> 1.4", only: :test}, {:ex_doc, "~>0.13.0", only: :dev}, # {:ex_doc, path: "../ex_doc", only: :dev}, {:earmark, ">= 0.2.1", only: :dev}, # {:proper, git: "../../erlang/proper/proper"} # {:proper, github: "manopapad/proper", ref: "fa58f8" } # from 26.05.2015 {:proper, "~> 1.1.1-beta"} ] end end