This repository has been archived by the owner on Jan 30, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 9
/
mix.exs
72 lines (65 loc) · 1.57 KB
/
mix.exs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
defmodule MatrixSDK.MixProject do
use Mix.Project
def project do
[
app: :matrix_sdk,
version: "0.2.0",
elixir: "~> 1.10",
start_permanent: Mix.env() == :prod,
elixirc_paths: elixirc_paths(Mix.env()),
deps: deps(),
description: description(),
docs: docs(),
package: package()
]
end
# Run "mix help compile.app" to learn about applications.
def application do
[
extra_applications: [:logger],
env: [http_client: MatrixSDK.HTTPClient]
]
end
defp elixirc_paths(:test), do: ["test/support", "lib"]
defp elixirc_paths(_), do: ["lib"]
# Run "mix help deps" to learn about dependencies.
defp deps do
[
{:tesla, "~> 1.3"},
{:mint, "~> 1.0"},
{:castore, "~> 1.0.0"},
{:jason, "~> 1.2"},
{:mox, "~> 1.1.0", only: :test},
{:bypass, "~> 2.0", only: :test},
{:ex_doc, "~> 0.22", only: :dev, runtime: false}
]
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-elixir-sdk",
extras: ["README.md"],
groups_for_modules: [
"Client-Server API": [
MatrixSDK.API.Request,
MatrixSDK.API.Auth,
MatrixSDK.API.RoomEvent,
MatrixSDK.API.StateEvent
]
]
]
end
defp package() do
[
maintainers: ["Niklas Long"],
licenses: ["MIT"],
links: %{"GitHub" => "https://github.com/niklaslong/matrix-elixir-sdk"}
]
end
end