Packages

multiverse support for Finch HTTP Library Library

Retired package: Deprecated - use multiverses_req

Current section

Files

Jump to
Raw

mix.exs

defmodule MultiversesFinch.MixProject do
use Mix.Project
@multiverses_version "0.7.0"
@finch_version "0.3.0"
@version "0.3.0"
def project do
[
app: :multiverses_finch,
version: @version,
elixir: "~> 1.10",
start_permanent: Mix.env() == :prod,
elixirc_paths: elixirc_paths(Mix.env()),
deps: deps(),
package: [
description: "multiverse support for Finch HTTP Library Library",
licenses: ["MIT"],
files: ~w(lib mix.exs README* LICENSE* VERSIONS*),
links: %{"GitHub" => "https://github.com/ityonemo/multiverses_finch"}
],
docs: [
main: "Multiverses.Finch",
extras: ["README.md"],
source_url: "https://github.com/ityonemo/multiverses_finch"
],
]
end
def application do
[
extra_applications: [:logger]
]
end
defp elixirc_paths(:test), do: ["lib", "test/_support"]
defp elixirc_paths(_), do: ["lib"]
defp deps do
[
# parent library that's being cloned
{:finch, "~> #{@finch_version}"},
{:multiverses, "~> #{@multiverses_version}"},
# for testing
{:bypass, "~> 1.0", only: :test},
{:plug_cowboy, "~> 2.0", only: :test},
{:mox, "~> 0.5.2", 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