defmodule Eventually.MixProject do use Mix.Project @version "1.1.0" def project do [ app: :eventually, version: @version, elixir: "~> 1.8", start_permanent: Mix.env() == :prod, deps: deps(), docs: docs(), package: package(), description: description(), test_coverage: [tool: ExCoveralls, test_task: "test"], preferred_cli_env: [ coveralls: :test, "coveralls.html": :test ], dialyzer: [ flags: [ :error_handling, :race_conditions, :underspecs, :unmatched_returns ] # ignore_warnings: "dialyzer_ignore.exs", # list_unused_filters: true ] ] end # Run "mix help compile.app" to learn about applications. def application do [ extra_applications: [:logger] ] end # Run "mix help deps" to learn about dependencies. defp deps do [ {:credo, "~> 1.0", only: [:dev, :test], runtime: false}, {:dialyxir, "~> 1.0.0-rc.6", only: :dev, runtime: false}, {:ex_check, ">= 0.0.0", only: [:dev, :test], runtime: false}, {:ex_doc, ">= 0.0.0", only: [:dev, :test]}, {:excoveralls, "~> 0.10", only: :test} ] end defp description do """ Macros to support assertions/refutations that might not be correct immediately but will eventually become so due to, say, eventual consistency. """ end defp package do [ maintainers: ["Bernard Duggan", "Phil Toland"], licenses: ["MIT"], links: %{"GitHub" => "https://github.com/hippware/eventually"} ] end defp docs do [ source_ref: "v#{@version}", main: "readme", extras: ["README.md"] ] end end