[master] 363b1b76c flint individual vmods

Nils Goroll nils.goroll at uplex.de
Thu Jan 7 14:18:07 UTC 2021


commit 363b1b76c06e5c57c9a3c430d78b996be2b4daee
Author: Nils Goroll <nils.goroll at uplex.de>
Date:   Thu Jan 7 15:09:32 2021 +0100

    flint individual vmods

diff --git a/vmod/flint.sh b/vmod/flint.sh
index 522e30d4d..ee1d06532 100755
--- a/vmod/flint.sh
+++ b/vmod/flint.sh
@@ -1,8 +1,11 @@
 #!/bin/sh
 
-FLOPS='
-	-I../../bin/varnishd
-	*.c
-'
-
-. ../../tools/flint_skel.sh
+for vmod in vmod_*.vcc ; do
+    vmod="${vmod%.vcc}"
+    vmod="${vmod#vmod_}"
+    echo "====================="
+    echo "${vmod}"
+    echo "====================="
+    FLOPS="-I../bin/varnishd vcc_${vmod}_if.c vmod_${vmod}*.c" \
+	 ../tools/flint_skel.sh
+done


More information about the varnish-commit mailing list