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
|
def project do
|
||||||
[
|
[
|
||||||
app: :http_signatures,
|
app: :http_signatures,
|
||||||
|
description: "Library for manipulating and validating HTTP signatures",
|
||||||
version: "0.1.0",
|
version: "0.1.0",
|
||||||
elixir: "~> 1.7",
|
elixir: "~> 1.7",
|
||||||
elixirc_options: [warnings_as_errors: true],
|
elixirc_options: [warnings_as_errors: true],
|
||||||
elixirc_paths: elixirc_paths(Mix.env()),
|
elixirc_paths: elixirc_paths(Mix.env()),
|
||||||
start_permanent: Mix.env() == :prod,
|
start_permanent: Mix.env() == :prod,
|
||||||
deps: deps()
|
deps: deps(),
|
||||||
|
package: package()
|
||||||
]
|
]
|
||||||
end
|
end
|
||||||
|
|
||||||
|
@ -29,6 +31,13 @@ defmodule HttpSignatures.MixProject do
|
||||||
]
|
]
|
||||||
end
|
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(:test), do: ["lib", "test/support"]
|
||||||
defp elixirc_paths(_), do: ["lib"]
|
defp elixirc_paths(_), do: ["lib"]
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in a new issue