File: scan-build.sh

package info (click to toggle)
kshutdown 6.0-2
  • links: PTS
  • area: main
  • in suites: forky, sid
  • size: 1,992 kB
  • sloc: cpp: 8,349; sh: 477; makefile: 5
file content (14 lines) | stat: -rwxr-xr-x 239 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#!/bin/bash

# DOC: https://clang-analyzer.llvm.org/scan-build.html

if [ ! -d "src" ]; then
	echo "Usage: ./tools/scan-build.sh"
	exit 1
fi

pushd src
make clean
# FIXME: fatal error: 'type_traits' file not found
scan-build make -j2
popd