Current section

Files

Jump to
Raw

mix.exs

defmodule Multiverses.MixProject do
use Mix.Project
def project do
[
app: :multiverses,
version: "0.1.0",
elixir: "~> 1.10",
start_permanent: Mix.env() == :prod,
test_coverage: [tool: ExCoveralls],
preferred_cli_env:
[coveralls: :test,
"coveralls.detail": :test,
"coveralls.post": :test,
"coveralls.html": :test,
release: :lab],
package: [
description: "multiverse support for Elixir Standard Library",
licenses: ["MIT"],
files: ~w(lib mix.exs README* LICENSE* VERSIONS*),
links: %{"GitHub" => "https://github.com/ityonemo/multiverses"}
],
docs: [
source_url: "https://github.com/ityonemo/multiverses"
],
elixirc_paths: elixirc_paths(Mix.env()),
deps: deps()
]
end
defp elixirc_paths(:test), do: ["lib", "test/support"]
defp elixirc_paths(_), do: ["lib"]
# 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
[
# build, testing, and analysis tools
{:mox, "~> 0.5", only: :test},
{:credo, "~> 1.3", only: [:dev, :test], runtime: false},
{:excoveralls, "~> 0.11", only: :test, runtime: false},
{:ex_doc, "~> 0.21.2", only: :dev, runtime: false},
{:dialyxir, "~> 0.5.1", only: :dev, runtime: false}
]
end
end