mirror of
https://github.com/neovim/neovim.git
synced 2025-09-06 19:38:20 +00:00
Use the free PVS-Studio license
As of release 7.10, PVS Studio requires a license, even for the "check me" comment based analyzing.
This commit is contained in:
@@ -363,10 +363,15 @@ run_analysis() {(
|
|||||||
|
|
||||||
cd "$tgt"
|
cd "$tgt"
|
||||||
|
|
||||||
|
if [ ! -r PVS-Studio.lic ]; then
|
||||||
|
pvs-studio-analyzer credentials -o PVS-Studio.lic 'PVS-Studio Free' 'FREE-FREE-FREE-FREE'
|
||||||
|
fi
|
||||||
|
|
||||||
# pvs-studio-analyzer exits with a non-zero exit code when there are detected
|
# pvs-studio-analyzer exits with a non-zero exit code when there are detected
|
||||||
# errors, so ignore its return
|
# errors, so ignore its return
|
||||||
pvs-studio-analyzer \
|
pvs-studio-analyzer \
|
||||||
analyze \
|
analyze \
|
||||||
|
--lic-file PVS-Studio.lic \
|
||||||
--threads "$(get_jobs_num)" \
|
--threads "$(get_jobs_num)" \
|
||||||
--output-file PVS-studio.log \
|
--output-file PVS-studio.log \
|
||||||
--file build/compile_commands.json \
|
--file build/compile_commands.json \
|
||||||
|
Reference in New Issue
Block a user