http_signatures/mix.exs

47 lines
1.2 KiB
Elixir
Raw Permalink Normal View History

2022-07-21 17:47:19 +02:00
# SPDX-FileCopyrightText: 2017-2019 Pleroma Authors <https://pleroma.social/>
# SPDX-License-Identifier: LGPL-3.0-only
2019-05-14 16:55:11 +00:00
defmodule HttpSignatures.MixProject do
use Mix.Project
def project do
[
app: :http_signatures,
2020-07-23 19:13:29 +02:00
description: "Library for manipulating and validating HTTP signatures",
2026-04-30 16:28:33 +01:00
version: "1.1.2",
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 19:13:29 +02: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
[
2025-02-09 18:02:22 +01:00
{:timex, "~> 3.7"},
2022-03-07 14:56:21 +01:00
{:credo, "~> 1.0", only: [:dev, :test], runtime: false},
2019-05-14 16:58:34 +00:00
{:ex_doc, "~> 0.19", only: :dev, runtime: false},
2022-03-07 14:56:21 +01:00
{:dialyxir, "~> 1.1.0", only: [:dev], runtime: false}
2019-05-14 16:55:11 +00:00
]
end
2020-07-23 19:13:29 +02:00
defp package do
[
licenses: ["LGPL-3.0-only"],
links: %{"Git" => "https://akkoma.dev/AkkomaGang/http_signatures.git"}
2020-07-23 19:13:29 +02:00
]
end
2019-05-14 16:55:11 +00:00
defp elixirc_paths(:test), do: ["lib", "test/support"]
defp elixirc_paths(_), do: ["lib"]
end