Skip to content
Snippets Groups Projects
Commit cd6db6ab authored by luna's avatar luna :basketball:
Browse files

use Mix.Project.Config for some Application functions

parent b0c4c082
No related branches found
No related tags found
No related merge requests found
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment