Commit 8b42fd3e authored by Poul-Henning Kamp's avatar Poul-Henning Kamp

Make it possible to run custom VCL programs through flexelint.



git-svn-id: http://www.varnish-cache.org/svn/trunk/varnish-cache@2873 d4fa192b-c00b-0410-8231-f00ffab90ce4
parent a915e990
......@@ -2,6 +2,12 @@
#
# Run flexelint on the VCL output
./varnishd -C -b localhost > /tmp/_.c
if [ "x$1" = "x" ] ; then
./varnishd -C -b localhost > /tmp/_.c
elif [ -f $1 ] ; then
./varnishd -C -f $1 > /tmp/_.c
else
echo "usage!" 1>&2
fi
flexelint vclflint.lnt /tmp/_.c
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