mirror of
https://git.youjo.love/youjo/youjo-be.git
synced 2024-11-20 13:59:55 +01:00
use Mix.Project.Config for some Application functions
This commit is contained in:
parent
b0c4c082c4
commit
cd6db6abe4
1 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue