Skip to content

Commit

Permalink
add package metadata to mix.exs #4
Browse files Browse the repository at this point in the history
  • Loading branch information
nelsonic committed Oct 14, 2019
1 parent 2ea0ff4 commit db25d68
Showing 1 changed file with 21 additions and 1 deletion.
22 changes: 21 additions & 1 deletion mix.exs
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,16 @@ defmodule Quotes.MixProject do
[
app: :quotes,
version: "0.1.0",
package: package(),
description: description(),
elixir: "~> 1.9",
start_permanent: Mix.env() == :prod,
deps: deps()
deps: deps(),
test_coverage: [tool: ExCoveralls],
preferred_cli_env: [
coveralls: :test,
"coveralls.json": :test,
]
]
end

Expand All @@ -26,4 +33,17 @@ defmodule Quotes.MixProject do
{:ex_doc, "~> 0.21", only: :dev}
]
end

defp description() do
"quotes is a collection of inspiring quotes and methods to return them."
end

defp package() do
[
name: "quotes",
licenses: ["GNU GPL v2.0"],
maintainers: ["dwyl"],
links: %{"GitHub" => "https://github.com/nelsonic/quotes"}
]
end
end

0 comments on commit db25d68

Please sign in to comment.