Commit f6b82e38 authored by Poul-Henning Kamp's avatar Poul-Henning Kamp

Use a skeleton script for flint.sh throughout.

parent 98f14f50
#!/bin/sh
FLOPS='
*.c
../../lib/libvarnishapi/*.c
'
. ../../tools/flint_skel.sh
#!/bin/sh
if [ "x$1" = "x-ok" -a -f _.fl ] ; then
echo "Saved as reference"
mv _.fl _.fl.old
exit 0
fi
FLOPS='
-I../../lib/libvgz
-DVARNISHD_IS_NOT_A_VMOD
-DVARNISH_STATE_DIR=\"foo\"
-DVARNISH_VMOD_DIR=\"foo\"
-DVARNISH_VCL_DIR=\"foo\"
cache/*.c
common/*.c
hash/*.c
http1/*.c
http2/*.c
mgt/*.c
proxy/*.c
storage/*.c
waiter/*.c
../../lib/libvarnish/*.c
../../lib/libvcc/*.c
../../lib/libvmod_std/*.c
../../lib/libvmod_debug/*.c
../../lib/libvmod_directors/*.c
'
flexelint \
../../flint.lnt \
../flint.lnt \
flint.lnt \
-I. \
-I../../include \
-I../../lib/libvgz \
-I../.. \
-I/usr/local/include \
-DVARNISHD_IS_NOT_A_VMOD \
-DVARNISH_STATE_DIR=\"foo\" \
-DVARNISH_VMOD_DIR=\"foo\" \
-DVARNISH_VCL_DIR=\"foo\" \
cache/*.c \
common/*.c \
hash/*.c \
http1/*.c \
http2/*.c \
mgt/*.c \
proxy/*.c \
storage/*.c \
waiter/*.c \
../../lib/libvarnish/*.c \
../../lib/libvcc/*.c \
../../lib/libvmod_std/*.c \
../../lib/libvmod_debug/*.c \
../../lib/libvmod_directors/*.c \
2>&1 | tee _.fl
if [ -f _.fl.old ] ; then
diff -u _.fl.old _.fl
fi
if [ "x$1" = "x-ok" ] ; then
echo "Saved as reference"
mv _.fl _.fl.old
fi
. ../../tools/flint_skel.sh
#!/bin/sh
FLOPS='
*.c
../../lib/libvarnishapi/*.c
'
. ../../tools/flint_skel.sh
#!/bin/sh
if [ "x$1" = "x-ok" -a -f _.fl ] ; then
echo "Saved as reference"
mv _.fl _.fl.old
exit 0
fi
FLOPS='
-DVARNISH_STATE_DIR=\"foo\"
*.c
../../lib/libvarnishapi/*.c
'
flexelint \
../../flint.lnt \
../flint.lnt \
flint.lnt \
-I. \
-I../../include \
-I../.. \
-I/usr/local/include \
-DVARNISH_STATE_DIR=\"foo\" \
*.c \
../../lib/libvarnishapi/*.c \
2>&1 | tee _.fl
. ../../tools/flint_skel.sh
if [ -f _.fl.old ] ; then
diff -u _.fl.old _.fl
fi
if [ "x$1" = "x-ok" ] ; then
echo "Saved as reference"
mv _.fl _.fl.old
fi
#!/bin/sh
if [ "x$1" = "x-ok" -a -f _.fl ] ; then
echo "Saved as reference"
mv _.fl _.fl.old
exit 0
fi
FLOPS='
*.c
../../lib/libvarnishapi/*.c
'
flexelint \
../../flint.lnt \
../flint.lnt \
flint.lnt \
-I. \
-I../../include \
-I../.. \
*.c \
2>&1 | tee _.fl
if [ -f _.fl.old ] ; then
diff -u _.fl.old _.fl
fi
if [ "x$1" = "x-ok" ] ; then
echo "Saved as reference"
mv _.fl _.fl.old
fi
. ../../tools/flint_skel.sh
#!/bin/sh
flexelint \
-I/usr/include \
-I. \
-I../../include \
-I../.. \
../flint.lnt \
flint.lnt \
*.c \
FLOPS='
*.c
../../lib/libvarnishapi/*.c
'
. ../../tools/flint_skel.sh
#!/bin/sh
if [ "x$1" = "x-ok" -a -f _.fl ] ; then
echo "Saved as reference"
mv _.fl _.fl.old
exit 0
fi
FLOPS='
-DTOP_BUILDDIR="foo"
-I../../lib/libvgz
*.c
'
flexelint \
-DTOP_BUILDDIR='"foo"' \
-I/usr/include \
-I. \
-I../../include \
-I../../lib/libvgz \
-I../.. \
../../flint.lnt \
../flint.lnt \
flint.lnt \
*.c \
2>&1 | tee _.fl
. ../../tools/flint_skel.sh
if [ -f _.fl.old ] ; then
diff -u _.fl.old _.fl
fi
if [ "x$1" = "x-ok" ] ; then
echo "Saved as reference"
mv _.fl _.fl.old
fi
#!/bin/sh
flexelint \
-I/usr/include \
-I. \
-I../../include \
-I../.. \
../flint.lnt \
flint.lnt \
*.c \
FLOPS='
*.c
../../lib/libvarnishapi/*.c
'
. ../../tools/flint_skel.sh
#!/bin/sh
if [ "x$1" = "x-ok" -a -f _.fl ] ; then
echo "Saved as reference"
mv _.fl _.fl.old
exit 0
fi
flexelint \
../../flint.lnt \
flint.lnt \
-I. \
-I../../include \
-I../.. \
-I/usr/local/include \
*.c \
2>&1 | tee _.fl
if [ -f _.fl.old ] ; then
diff -u _.fl.old _.fl
fi
if [ "x$1" = "x-ok" ] ; then
echo "Saved as reference"
mv _.fl _.fl.old
fi
FLOPS='
*.c
'
. ../../tools/flint_skel.sh
#!/bin/sh
if [ "x$1" = "x-ok" -a -f _.fl ] ; then
echo "Saved as reference"
mv _.fl _.fl.old
exit 0
fi
flexelint \
../../flint.lnt \
../flint.lnt \
flint.lnt \
-I. \
-I../../include \
-I../.. \
-I/usr/local/include \
*.c \
2>&1 | tee _.fl
if [ -f _.fl.old ] ; then
diff -u _.fl.old _.fl
fi
if [ "x$1" = "x-ok" ] ; then
echo "Saved as reference"
mv _.fl _.fl.old
fi
FLOPS='
*.c
'
. ../../tools/flint_skel.sh
#!/bin/sh
flexelint \
-I/usr/include \
-I. \
-I../.. \
-I../../include \
-I../../contrib/libevent \
flint.lnt \
FLOPS='
*.c
'
. ../../tools/flint_skel.sh
#!/bin/sh
flexelint \
-u \
../../flint.lnt \
-I. \
-I../.. \
-I../../include \
-I../../bin/varnishd \
FLOPS='
-I../../bin/varnishd
*.c
'
. ../../tools/flint_skel.sh
#!/bin/sh
FLOPS='
-I../../bin/varnishd
*.c
'
. ../../tools/flint_skel.sh
#!/bin/sh
flexelint \
-u \
../../flint.lnt \
-I. \
-I../.. \
-I../../include \
-I../../bin/varnishd \
FLOPS='
-I../../bin/varnishd
*.c
'
. ../../tools/flint_skel.sh
#!/bin/sh
if [ "x$1" = "x-ok" -a -f _.fl ] ; then
echo "Saved as reference"
mv _.fl _.fl.old
exit 0
fi
flexelint \
../../flint.lnt \
../flint.lnt \
flint.lnt \
-zero \
-I. \
-I../../include \
-I../.. \
-I/usr/local/include \
$FLOPS \
2>&1 | tee _.fl
if [ -f _.fl.old ] ; then
diff -u _.fl.old _.fl
fi
if [ "x$1" = "x-ok" ] ; then
echo "Saved as reference"
mv _.fl _.fl.old
fi
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment