File: scan-build.sh

package info (click to toggle)
hime 0.9.11%2Bdfsg-2
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, bullseye
  • size: 11,584 kB
  • sloc: ansic: 32,177; sh: 3,851; makefile: 1,124; cpp: 337
file content (15 lines) | stat: -rwxr-xr-x 420 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#!/usr/bin/env bash

# Run Clang's static analyzer scan-build
#
# This script will build the hime project with scan-build and open the report
# in the browser: http://127.0.0.1:8181
#
# https://clang-analyzer.llvm.org/scan-build.html

set -ueo pipefail

make distclean

scan-build ./configure --prefix=/usr --disable-lib64 --qt5-im-module-path=/usr/lib/qt/plugins/platforminputcontexts/
scan-build -V make -j "$(nproc)"