Skip to content

Commit d44a440

Browse files
committed
Try to fix Sonar warning:
Property 'sonar.cfamily.build-wrapper-output' is deprecated; build-wrapper now generates a compilation database. #sonar
1 parent 025da74 commit d44a440

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tools/run_sonar.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ sonar-scanner \
6969
--define sonar.projectKey=libudpard \
7070
--define sonar.sources=libudpard \
7171
--define sonar.exclusions=libudpard/_udpard_cavl.h \
72-
--define sonar.cfamily.build-wrapper-output="$BUILD_DIR" \
72+
--define sonar.cfamily.compile-commands="$BUILD_DIR/compile_commands.json"
7373
--define sonar.cfamily.llvm-cov.reportPath="$BUILD_DIR/coverage.txt" \
7474
--define sonar.cfamily.threads="$(nproc)" \
7575
|| die

0 commit comments

Comments
 (0)