summaryrefslogtreecommitdiff
path: root/mix.exs
diff options
context:
space:
mode:
Diffstat (limited to 'mix.exs')
-rw-r--r--mix.exs20
1 files changed, 11 insertions, 9 deletions
diff --git a/mix.exs b/mix.exs
index 70b5e4bd6..333f21a91 100644
--- a/mix.exs
+++ b/mix.exs
@@ -9,6 +9,7 @@ defmodule Pleroma.Mixfile do
elixirc_paths: elixirc_paths(Mix.env()),
compilers: [:phoenix, :gettext] ++ Mix.compilers(),
elixirc_options: [warnings_as_errors: true],
+ xref: [exclude: [:eldap]],
start_permanent: Mix.env() == :prod,
aliases: aliases(),
deps: deps(),
@@ -21,13 +22,12 @@ defmodule Pleroma.Mixfile do
homepage_url: "https://pleroma.social/",
docs: [
logo: "priv/static/static/logo.png",
- extras: [
- "README.md",
- "docs/config.md",
- "docs/Pleroma-API.md",
- "docs/Admin-API.md",
- "docs/Clients.md",
- "docs/Differences-in-MastodonAPI-Responses.md"
+ extras: ["README.md" | Path.wildcard("docs/**/*.md")],
+ groups_for_extras: [
+ "Installation manuals": Path.wildcard("docs/installation/*.md"),
+ Configuration: Path.wildcard("docs/config/*.md"),
+ Administration: Path.wildcard("docs/admin/*.md"),
+ "Pleroma's APIs and Mastodon API extensions": Path.wildcard("docs/api/*.md")
],
main: "readme",
output: "priv/static/doc"
@@ -58,7 +58,8 @@ defmodule Pleroma.Mixfile do
{:phoenix, "~> 1.4.1"},
{:plug_cowboy, "~> 2.0"},
{:phoenix_pubsub, "~> 1.1"},
- {:phoenix_ecto, "~> 3.3"},
+ {:phoenix_ecto, "~> 4.0"},
+ {:ecto_sql, "~>3.0.5"},
{:postgrex, ">= 0.13.5"},
{:gettext, "~> 0.15"},
{:comeonin, "~> 4.1.1"},
@@ -92,7 +93,8 @@ defmodule Pleroma.Mixfile do
{:timex, "~> 3.5"},
{:auto_linker,
git: "https://git.pleroma.social/pleroma/auto_linker.git",
- ref: "94193ca5f97c1f9fdf3d1469653e2d46fac34bcd"}
+ ref: "94193ca5f97c1f9fdf3d1469653e2d46fac34bcd"},
+ {:pleroma_job_queue, "~> 0.2.0"}
]
end