Rename lib.sh -> scan-build.sh

This commit is contained in:
Max Brunsfeld 2017-07-06 10:32:41 -07:00
parent 78333b70c0
commit a64db98218
4 changed files with 2 additions and 6 deletions

View file

@ -59,6 +59,7 @@ while getopts "bdhf:l:SL" option; do
done
if [[ -n "$run_scan_build" ]]; then
. script/util/scan-build.sh
scan_build make -j2 $target
else
make -j2 benchmarks

View file

@ -2,8 +2,6 @@
set -e
. script/lib.sh
script/fetch-fixtures
script/check-mallocs
script/test -b

View file

@ -2,8 +2,6 @@
set -e
. script/lib.sh
function usage {
cat <<-EOF
USAGE
@ -92,6 +90,7 @@ else
fi
if [[ -n "$run_scan_build" ]]; then
. script/util/scan-build.sh
scan_build make -j2 $target
else
make -j2 $target

View file

@ -1,5 +1,3 @@
#!/usr/bin/env bash
function scan_build {
extra_args=()