aboutsummaryrefslogtreecommitdiff
path: root/server/src/net/usebox/gemini
diff options
context:
space:
mode:
authorJuan J. Martinez <jjm@usebox.net>2021-02-26 13:53:21 +0000
committerJuan J. Martinez <jjm@usebox.net>2021-07-22 19:49:49 +0100
commit43c68ba38f7dc33efdbf38b12fb11e8a3db7c031 (patch)
treec238a0f79a1eb9225fc045e45cd3996241b38dfd /server/src/net/usebox/gemini
parenta14cafa19bb8b78722775fa3fee3b9987813d5b6 (diff)
downloadspacebeans-43c68ba38f7dc33efdbf38b12fb11e8a3db7c031.tar.gz
spacebeans-43c68ba38f7dc33efdbf38b12fb11e8a3db7c031.zip
BuildInfo support and smart version
Diffstat (limited to 'server/src/net/usebox/gemini')
-rw-r--r--server/src/net/usebox/gemini/server/ServerApp.scala4
1 files changed, 2 insertions, 2 deletions
diff --git a/server/src/net/usebox/gemini/server/ServerApp.scala b/server/src/net/usebox/gemini/server/ServerApp.scala
index cff8553..068ea6b 100644
--- a/server/src/net/usebox/gemini/server/ServerApp.scala
+++ b/server/src/net/usebox/gemini/server/ServerApp.scala
@@ -10,7 +10,7 @@ object ServerApp {
private val logger = getLogger
val appName = "SpaceBeans Gemini Server"
- val version = "1.0.1"
+ val version = BuildInfo.version
val defConfFile = "/etc/spacebeans.conf"
case class ServerOpts(
@@ -20,7 +20,7 @@ object ServerApp {
val opts: Command[ServerOpts] =
Command(
- name = "server",
+ name = BuildInfo.name,
header = appName
) {
(