From: Luna Date: Fri, 1 Feb 2019 17:11:23 +0000 (-0300) Subject: use Mix.Project.Config for some Application functions X-Git-Url: https://git.squeep.com/?a=commitdiff_plain;h=cd6db6abe4df010905649816735d925c0538da34;p=akkoma use Mix.Project.Config for some Application functions --- diff --git a/lib/pleroma/application.ex b/lib/pleroma/application.ex index 8b50bcf8c..d67e2cdc8 100644 --- a/lib/pleroma/application.ex +++ b/lib/pleroma/application.ex @@ -6,9 +6,9 @@ defmodule Pleroma.Application do use Application import Supervisor.Spec - @name "Pleroma" + @name Mix.Project.config()[:name] @version Mix.Project.config()[:version] - @repository "https://git.pleroma.social/pleroma/pleroma" + @repository Mix.Project.config()[:source_url] def name, do: @name def version, do: @version def named_version(), do: @name <> " " <> @version