From f983d90d4bf805e5c81e5f530e47836480829002 Mon Sep 17 00:00:00 2001 From: Delyan Angelov Date: Wed, 13 Nov 2024 16:49:36 +0200 Subject: [PATCH] install: make sure that the version of the v-analyzer executable is printed each time it is build from source, to ease diagnosing installation problems --- install.vsh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/install.vsh b/install.vsh index 66f2cc1..f84175e 100644 --- a/install.vsh +++ b/install.vsh @@ -319,7 +319,9 @@ fn install_from_sources(no_interaction bool) ! { clone_repository()! build_from_sources()! - println('Path to the ${term.bold('binary')}: ${analyzer_bin_file_path}') + println('Path to the binary: ${term.bold(analyzer_bin_file_path)}') + println('Binary version:') + os.system('${os.quoted_path(analyzer_bin_file_path)} version') show_hint_about_path_if_needed(analyzer_bin_file_path) }