Skip to content

Commit

Permalink
install: make sure that the version of the v-analyzer executable is p…
Browse files Browse the repository at this point in the history
…rinted each time it is build from source, to ease diagnosing installation problems
  • Loading branch information
spytheman committed Nov 13, 2024
1 parent 4d65c78 commit f983d90
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion install.vsh
Original file line number Diff line number Diff line change
Expand Up @@ -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)
}
Expand Down

0 comments on commit f983d90

Please sign in to comment.