http_signatures/mix.exs

44 lines
1.1 KiB
Elixir
Raw Normal View History

2019-05-14 16:55:11 +00:00
defmodule HttpSignatures.MixProject do
use Mix.Project
def project do
[
app: :http_signatures,
2020-07-23 17:13:29 +00:00
description: "Library for manipulating and validating HTTP signatures",
2021-11-09 23:44:49 +00:00
version: "0.1.1",
2019-05-14 16:55:11 +00:00
elixir: "~> 1.7",
elixirc_options: [warnings_as_errors: true],
elixirc_paths: elixirc_paths(Mix.env()),
start_permanent: Mix.env() == :prod,
2020-07-23 17:13:29 +00:00
deps: deps(),
package: package()
2019-05-14 16:55:11 +00:00
]
end
# Run "mix help compile.app" to learn about applications.
def application do
[
extra_applications: [:logger, :public_key]
2019-05-14 16:55:11 +00:00
]
end
# Run "mix help deps" to learn about dependencies.
defp deps do
[
2019-05-14 16:58:34 +00:00
{:credo, "~> 1.0.0", only: [:dev, :test], runtime: false},
{:ex_doc, "~> 0.19", only: :dev, runtime: false},
{:dialyxir, "~> 1.0.0-rc.5", only: [:dev], runtime: false}
2019-05-14 16:55:11 +00:00
]
end
2020-07-23 17:13:29 +00:00
defp package do
[
licenses: ["LGPL-3.0-only"],
2020-07-23 17:13:29 +00:00
links: %{"GitLab" => "https://git.pleroma.social/pleroma/elixir-libraries/http_signatures"}
]
end
2019-05-14 16:55:11 +00:00
defp elixirc_paths(:test), do: ["lib", "test/support"]
defp elixirc_paths(_), do: ["lib"]
end