Packages
Httpoison boosted with telemetry, mox and ex_rated.
Current section
Files
Jump to
Current section
Files
http_client
mix.exs
mix.exs
defmodule HttpClient.MixProject do
use Mix.Project
def project do
[
app: :http_client,
version: "0.2.1",
elixir: "~> 1.9",
start_permanent: Mix.env() == :prod,
test_coverage: [tool: ExCoveralls],
deps: deps(),
package: package(),
description: description(),
dialyzer: [
ignore_warnings: ".dialyzer_ignore.exs",
list_unused_filters: true,
plt_core_path: "priv/plts/",
plt_add_apps: [:mix]
]
]
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
[
{:httpoison, "~> 1.5"},
{:telemetry, "~> 0.4.0"},
{:mox, "~> 0.5", only: :test},
{:excoveralls, "~> 0.12", only: [:test]},
{:ex_unit_sonarqube, "~> 0.1.2", only: [:dev, :test]},
{:credo, "~> 1.0", runtime: false, only: [:dev]},
{:git_hooks, "~> 0.3", runtime: false, only: [:dev]},
{:dialyxir, "~> 1.0", runtime: false, only: [:dev]},
{:sobelow, "~> 0.9", runtime: false, only: [:dev]},
{:ex_doc, ">= 0.0.0", only: :dev, runtime: false, only: [:dev, :test]}
]
end
defp description do
"Httpoison boosted with telemetry and mox."
end
defp package do
[
# This option is only needed when you don't want to use the OTP application name
name: "http_client",
# These are the default files included in the package
files: ~w(lib .formatter.exs mix.exs README*),
licenses: ["Apache-2.0"],
links: %{"GitHub" => "https://github.com/nash-io/http_client"}
]
end
end