From de58aed3cb0079740ab33269a02aae47007525dc Mon Sep 17 00:00:00 2001 From: "Haelwenn (lanodan) Monnier" Date: Thu, 23 Jul 2020 19:13:29 +0200 Subject: [PATCH] mix.exs: Add fields for hex publishing --- mix.exs | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/mix.exs b/mix.exs index 1c93ac0..bbc1139 100644 --- a/mix.exs +++ b/mix.exs @@ -4,12 +4,14 @@ defmodule HttpSignatures.MixProject do def project do [ app: :http_signatures, + description: "Library for manipulating and validating HTTP signatures", version: "0.1.0", elixir: "~> 1.7", elixirc_options: [warnings_as_errors: true], elixirc_paths: elixirc_paths(Mix.env()), start_permanent: Mix.env() == :prod, - deps: deps() + deps: deps(), + package: package() ] end @@ -29,6 +31,13 @@ defmodule HttpSignatures.MixProject do ] end + defp package do + [ + licenses: ["LGPLv3"], + links: %{"GitLab" => "https://git.pleroma.social/pleroma/elixir-libraries/http_signatures"} + ] + end + defp elixirc_paths(:test), do: ["lib", "test/support"] defp elixirc_paths(_), do: ["lib"] end