mirror of
https://github.com/neovim/neovim.git
synced 2025-12-16 19:35:37 +00:00
pvscheck: When using --recheck rerun build
[ci skip]
This commit is contained in:
@@ -262,7 +262,7 @@ create_compile_commands() {(
|
|||||||
export CFLAGS=' -O0 '
|
export CFLAGS=' -O0 '
|
||||||
|
|
||||||
if test -z "$deps" ; then
|
if test -z "$deps" ; then
|
||||||
mkdir "$tgt/build"
|
mkdir -p "$tgt/build"
|
||||||
cd "$tgt/build"
|
cd "$tgt/build"
|
||||||
|
|
||||||
cmake .. -DCMAKE_BUILD_TYPE=Debug -DCMAKE_INSTALL_PREFIX="$PWD/root"
|
cmake .. -DCMAKE_BUILD_TYPE=Debug -DCMAKE_INSTALL_PREFIX="$PWD/root"
|
||||||
@@ -347,6 +347,8 @@ do_recheck() {
|
|||||||
|
|
||||||
adjust_path "$tgt"
|
adjust_path "$tgt"
|
||||||
|
|
||||||
|
create_compile_commands "$tgt" "$deps"
|
||||||
|
|
||||||
run_analysis "$tgt"
|
run_analysis "$tgt"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user