Current section

Files

Jump to
expect mix.exs
Raw

mix.exs

defmodule Expect.MixProject do
use Mix.Project
@github_url "https://github.com/tjarratt/expect"
def project do
[
app: :expect,
version: "1.0.0",
elixir: "~> 1.17",
start_permanent: Mix.env() == :prod,
deps: deps(),
name: "Expect",
description: "Write beautifully simple assertions for ExUnit using matchers",
package: package(),
source_url: @github_url,
homepage_url: @github_url,
test_paths: test_paths(System.get_env("INCLUDE_TESTS_WITH_WARNINGS"))
]
end
defp test_paths("true"), do: ["test", "test_with_warnings"]
defp test_paths(_), do: ["test"]
def application do
[
extra_applications: [:logger]
]
end
defp deps do
[
{:ex_doc, ">= 0.0.0", only: :dev, runtime: false},
{:dialyxir, "~> 1.1", only: [:dev, :test], runtime: false},
{:mix_test_watch, "~> 1.0", only: [:dev, :test], runtime: false}
]
end
defp package() do
[
files: ~w[
README.*
lib
LICENSE
mix.exs
],
licenses: ["MIT"],
links: %{"GitHub" => @github_url},
maintainers: ["Tim Jarratt"]
]
end
end