mix.exs: Add fields for hex publishing
This commit is contained in:
parent
293d77bb6f
commit
de58aed3cb
1 changed files with 10 additions and 1 deletions
11
mix.exs
11
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
|
||||
|
|
Loading…
Reference in a new issue