Commit ad20709e authored by Pierre de Lacroix's avatar Pierre de Lacroix
Browse files

package preparation

parent edf8458e
Pipeline #207074672 passed with stage
in 2 minutes and 24 seconds
This diff is collapsed.
......@@ -6,7 +6,7 @@ Library that adds the Matrix Application Service API to Phoenix applications.
Add this library to your dependencies in `mix.exs`
```
```elixir
defp deps do
[...]
{:matrix_app_service, "~> 0.1.0"}
......@@ -25,6 +25,7 @@ See [documentation](https://kazarma.gitlab.io/matrix_app_service.ex).
* [x] Room query
* [x] Transaction push
* [ ] Third party indications
* [ ] Allow usage of own Phoenix endpoint
* [ ] Bridge functionalities: relations between local and remote rooms
* [ ] Bridge functionalities: handling of remote sessions
* [ ] Conveniences for building bots
......@@ -22,6 +22,7 @@ defmodule MatrixAppService do
```
require MatrixAppServiceWeb.Router
MatrixAppServiceWeb.Router.routes()
```
......
......@@ -5,11 +5,15 @@ defmodule MatrixAppService.MixProject do
[
name: "MatrixAppService",
app: :matrix_app_service,
source_url: "https://gitlab.com/kazarma/matrix_app_service.ex",
homepage_url: "https://gitlab.com/kazarma/matrix_app_service.ex",
version: "0.1.0",
elixir: "~> 1.7",
elixirc_paths: elixirc_paths(Mix.env()),
compilers: [:phoenix] ++ Mix.compilers(),
start_permanent: Mix.env() == :prod,
description: description(),
package: package(),
aliases: aliases(),
deps: deps(),
docs: [main: "MatrixAppService"],
......@@ -20,6 +24,17 @@ defmodule MatrixAppService.MixProject do
defp test_coverage(nil), do: []
defp test_coverage(_), do: [tool: CoberturaCover, html_output: "cover"]
defp description() do
"Library that adds Matrix Application Service functionalities to Phoenix applications."
end
defp package() do
[
licenses: ["AGPLv3"],
links: %{"GitLab" => "https://gitlab.com/kazarma/matrix_app_service.ex"}
]
end
# Configuration for the OTP application.
#
# Type `mix help compile.app` for more information.
......@@ -46,7 +61,7 @@ defmodule MatrixAppService.MixProject do
{:plug_cowboy, "~> 2.0"},
{:polyjuice_client, "~> 0.2.3"},
{:ex_doc, "~> 0.22", only: :dev, runtime: false},
{:junit_formatter, "~> 3.1", only: [:test]},
{:junit_formatter, "~> 3.1", only: :test},
{:cobertura_cover, "~> 0.9.0", only: :test}
]
end
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment