diff options
author | Juan J. Martinez <jjm@usebox.net> | 2021-02-26 13:53:21 +0000 |
---|---|---|
committer | Juan J. Martinez <jjm@usebox.net> | 2021-07-22 19:49:49 +0100 |
commit | 43c68ba38f7dc33efdbf38b12fb11e8a3db7c031 (patch) | |
tree | c238a0f79a1eb9225fc045e45cd3996241b38dfd /server/src/net | |
parent | a14cafa19bb8b78722775fa3fee3b9987813d5b6 (diff) | |
download | spacebeans-43c68ba38f7dc33efdbf38b12fb11e8a3db7c031.tar.gz spacebeans-43c68ba38f7dc33efdbf38b12fb11e8a3db7c031.zip |
BuildInfo support and smart version
Diffstat (limited to 'server/src/net')
-rw-r--r-- | server/src/net/usebox/gemini/server/ServerApp.scala | 4 |
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 ) { ( |