X-Git-Url: https://git.squeep.com/?a=blobdiff_plain;f=lib%2Fmix%2Fpleroma.ex;h=faeb30e1dc378da65b601ce01f4deb537056a2e6;hb=30a59ae97d79b2e3aa528a16f934e03d9ac80d72;hp=548c8a0a45158151bd074d37fb58a5c200c2ea2b;hpb=55742d978d15bba75bcae9c6f2d91afbb77d0dc5;p=akkoma diff --git a/lib/mix/pleroma.ex b/lib/mix/pleroma.ex index 548c8a0a4..faeb30e1d 100644 --- a/lib/mix/pleroma.ex +++ b/lib/mix/pleroma.ex @@ -1,5 +1,5 @@ # Pleroma: A lightweight social networking server -# Copyright © 2017-2018 Pleroma Authors +# Copyright © 2017-2019 Pleroma Authors # SPDX-License-Identifier: AGPL-3.0-only defmodule Mix.Pleroma do @@ -9,6 +9,10 @@ defmodule Mix.Pleroma do {:ok, _} = Application.ensure_all_started(:pleroma) end + def load_pleroma do + Application.load(:pleroma) + end + def get_option(options, opt, prompt, defval \\ nil, defname \\ nil) do Keyword.get(options, opt) || shell_prompt(prompt, defval, defname) end