projects
/
akkoma
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b0c4c08
)
use Mix.Project.Config for some Application functions
author
Luna
<git@l4.pm>
Fri, 1 Feb 2019 17:11:23 +0000
(14:11 -0300)
committer
Luna
<git@l4.pm>
Fri, 1 Feb 2019 17:11:23 +0000
(14:11 -0300)
lib/pleroma/application.ex
patch
|
blob
|
history
diff --git
a/lib/pleroma/application.ex
b/lib/pleroma/application.ex
index 8b50bcf8c89b6d548731efa7a726f5b453667c8b..d67e2cdc8fbae0fa976f9ef6a7eb381ccb64a0c1 100644
(file)
--- 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