Current section
Files
Jump to
Current section
Files
stickerclient
mix.exs
mix.exs
defmodule StickerClient.MixProject do
use Mix.Project
def project do
[
app: :stickerclient,
description: "An Elixir library for interfacing with the Signal Stickers API",
version: "0.2.1",
source_url: "https://github.com/tajacks/elixir-stickerclient",
homepage_url: "https://github.com/tajacks/elixir-stickerclient",
elixir: "~> 1.14",
start_permanent: Mix.env() == :prod,
deps: deps(),
package: package(),
test_coverage: [tool: ExCoveralls],
preferred_cli_env: [
coveralls: :test,
"coveralls.detail": :test,
"coveralls.post": :test,
"coveralls.html": :test
],
dialyzer: [
ignore_warnings: ".dialyzer_ignore.exs",
plt_file: {:no_warn, "priv/plts/dialyzer.plt"},
flags: [:error_handling, :unknown],
# Error out when an ignore rule is no longer useful so we can remove it
list_unused_filters: true
]
]
end
def application do
[
extra_applications: [:logger],
mod: {StickerClient.Runtime.Application, []}
]
end
defp deps do
[
{:hkdf, "~> 0.2.0"},
{:req, "~> 0.4.2"},
{:protobuf, "~> 0.12.0"},
{:ex_doc, "~> 0.30.6", only: :dev, runtime: false},
{:credo, "~> 1.6", only: [:dev, :test], runtime: false},
{:excoveralls, "~> 0.17.1", only: :test},
{:mox, "~> 1.0.2", only: :test},
{:dialyxir, "~> 1.4.1", only: [:dev, :test], runtime: false}
]
end
defp package do
[
name: "stickerclient",
licenses: ["LGPL-3.0-only"],
links: %{"GitHub" => "https://github.com/tajacks/elixir-stickerclient"}
]
end
end