Skip to content

Commit f983d90

Browse files
committed
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
1 parent 4d65c78 commit f983d90

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

install.vsh

+3-1
Original file line numberDiff line numberDiff line change
@@ -319,7 +319,9 @@ fn install_from_sources(no_interaction bool) ! {
319319
clone_repository()!
320320
build_from_sources()!
321321

322-
println('Path to the ${term.bold('binary')}: ${analyzer_bin_file_path}')
322+
println('Path to the binary: ${term.bold(analyzer_bin_file_path)}')
323+
println('Binary version:')
324+
os.system('${os.quoted_path(analyzer_bin_file_path)} version')
323325

324326
show_hint_about_path_if_needed(analyzer_bin_file_path)
325327
}

0 commit comments

Comments
 (0)