diff options
author | Jordan Bracco <href@random.sh> | 2020-05-16 12:17:40 +0200 |
---|---|---|
committer | Jordan Bracco <href@random.sh> | 2020-05-16 12:22:30 +0200 |
commit | 447b4c9a2e99a37c0d17e01e79d786f2c11590f5 (patch) | |
tree | 87202b1b8e9b09a46ad862a475af0664e5dd753a /mix.exs | |
parent | Remove ETS backend, add max_retries, add options to limit/3. (diff) |
Format and prepare for release
Diffstat (limited to 'mix.exs')
-rw-r--r-- | mix.exs | 23 |
1 files changed, 21 insertions, 2 deletions
@@ -1,13 +1,24 @@ defmodule ConcurrentLimiter.MixProject do use Mix.Project + @repo "https://git.pleroma.social/pleroma/elixir-libraries/concurrent_limiter" def project do [ app: :concurrent_limiter, version: "0.1.0", - elixir: "~> 1.10", + elixir: "~> 1.9", start_permanent: Mix.env() == :prod, - deps: deps() + deps: deps(), + package: package(), + # Docs + name: "Concurrent Limiter", + source_url: @repo, + homepage_url: @repo, + docs: [ + main: "ConcurrentLimiter", + extras: [], + source_url_pattern: @repo <> "/blob/master/%{path}#L%{line}" + ] ] end @@ -19,8 +30,16 @@ defmodule ConcurrentLimiter.MixProject do defp deps do [ + {:credo, "~> 1.1.0", only: [:dev, :test], runtime: false}, {:ex_doc, "~> 0.21", only: :dev, runtime: false}, {:benchee, "~> 1.0", only: [:dev, :test]} ] end + + defp package do + [ + licenses: ["LGPLv3"], + links: %{"GitLab" => @repo} + ] + end end |