summaryrefslogtreecommitdiffstats
path: root/src/Root.cpp
diff options
context:
space:
mode:
authorAlexander Harkness <bearbin@gmail.com>2014-09-10 18:50:18 +0200
committerAlexander Harkness <bearbin@gmail.com>2014-09-10 18:50:18 +0200
commit35a42fc4379a65a1bd278c98e2d98ce3bb85484f (patch)
tree9274410e1b775e72c64b7a0ca5652b3333606e0d /src/Root.cpp
parentMerge pull request #1402 from Masy98/Sounds (diff)
parentAdded example for how to use version info to travis (diff)
downloadcuberite-35a42fc4379a65a1bd278c98e2d98ce3bb85484f.tar
cuberite-35a42fc4379a65a1bd278c98e2d98ce3bb85484f.tar.gz
cuberite-35a42fc4379a65a1bd278c98e2d98ce3bb85484f.tar.bz2
cuberite-35a42fc4379a65a1bd278c98e2d98ce3bb85484f.tar.lz
cuberite-35a42fc4379a65a1bd278c98e2d98ce3bb85484f.tar.xz
cuberite-35a42fc4379a65a1bd278c98e2d98ce3bb85484f.tar.zst
cuberite-35a42fc4379a65a1bd278c98e2d98ce3bb85484f.zip
Diffstat (limited to '')
-rw-r--r--src/Root.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/Root.cpp b/src/Root.cpp
index 870662f36..86a497a76 100644
--- a/src/Root.cpp
+++ b/src/Root.cpp
@@ -18,6 +18,7 @@
#include "DeadlockDetect.h"
#include "OSSupport/Timer.h"
#include "LoggerListeners.h"
+#include "BuildInfo.h"
#include "inifile/iniFile.h"
@@ -111,6 +112,11 @@ void cRoot::Start(void)
LOG("--- Started Log ---\n");
+ #ifdef BUILD_ID
+ LOG("MCServer " BUILD_SERIES_NAME " build id: " BUILD_ID );
+ LOG("from commit id: " BUILD_COMMIT_ID " built at: " BUILD_DATETIME );
+ #endif
+
cDeadlockDetect dd;
m_bStop = false;