aboutsummaryrefslogtreecommitdiff
path: root/brep/repository-root.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'brep/repository-root.cxx')
-rw-r--r--brep/repository-root.cxx12
1 files changed, 12 insertions, 0 deletions
diff --git a/brep/repository-root.cxx b/brep/repository-root.cxx
index 7af76b2..5711109 100644
--- a/brep/repository-root.cxx
+++ b/brep/repository-root.cxx
@@ -10,6 +10,7 @@
#include <brep/types>
#include <brep/utility>
+#include <brep/version>
#include <brep/module>
#include <brep/options>
@@ -187,4 +188,15 @@ namespace brep
return false;
}
+
+ void repository_root::
+ version ()
+ {
+ MODULE_DIAG;
+
+ info << "module " << BREP_VERSION_STR
+ << ", libbrep " << LIBBREP_VERSION_STR
+ << ", libbpkg " << LIBBPKG_VERSION_STR
+ << ", libbutl " << LIBBUTL_VERSION_STR;
+ }
}