Skip to content
This repository has been archived by the owner on Jan 30, 2024. It is now read-only.

Commit

Permalink
Configure library for release on hex (#71)
Browse files Browse the repository at this point in the history
  • Loading branch information
niklaslong authored Aug 25, 2020
1 parent 73a465a commit 9734671
Showing 1 changed file with 18 additions and 2 deletions.
20 changes: 18 additions & 2 deletions mix.exs
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,9 @@ defmodule MatrixSDK.MixProject do
start_permanent: Mix.env() == :prod,
elixirc_paths: elixirc_paths(Mix.env()),
deps: deps(),
docs: docs()
description: description(),
docs: docs(),
package: package()
]
end

Expand Down Expand Up @@ -37,11 +39,17 @@ defmodule MatrixSDK.MixProject do
]
end

defp description() do
"""
A Matrix SDK for Elixir
"""
end

defp docs do
[
main: "readme",
name: "Matrix SDK",
source_url: "https://github.com/niklaslong/matrix-sdk",
source_url: "https://github.com/niklaslong/matrix-elixir-sdk",
extras: ["README.md"],
groups_for_modules: [
"Client-Server API": [
Expand All @@ -53,4 +61,12 @@ defmodule MatrixSDK.MixProject do
]
]
end

defp package() do
[
maintainers: ["Niklas Long"],
licenses: ["MIT"],
links: %{"GitHub" => "https://github.com/niklaslong/matrix-elixir-sdk"}
]
end
end

0 comments on commit 9734671

Please sign in to comment.