From 43c68ba38f7dc33efdbf38b12fb11e8a3db7c031 Mon Sep 17 00:00:00 2001 From: "Juan J. Martinez" Date: Fri, 26 Feb 2021 13:53:21 +0000 Subject: BuildInfo support and smart version --- server/src/net/usebox/gemini/server/ServerApp.scala | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'server/src/net') 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 ) { ( -- cgit v1.2.3