We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 28d57e4 commit 8eb0167Copy full SHA for 8eb0167
1 file changed
scripts/headers-are-included.sh
@@ -8,7 +8,8 @@
8
find src/ include/ -type f -print0 | xargs -0 grep -h "#include" | grep -E "include .?ccf/" | cut -d " " -f 2 | jq -r . | grep -v "ccf/version.h" | sort -u > /tmp/CCF_INCLUDED
9
10
pushd include/ || exit 1
11
-find ccf -type f -name "*.h" | sort -u > /tmp/CCF_HEADERS
+# version.h may have been generated, if cmake was run
12
+find ccf -type f -name "*.h" | grep -v "ccf/version.h" | sort -u > /tmp/CCF_HEADERS
13
popd || exit 1
14
15
diff -y --suppress-common-lines /tmp/CCF_HEADERS /tmp/CCF_INCLUDED
0 commit comments