[Libreoffice-commits] .: scratch/find-undocumented-classes.sh
Miklos Vajna
vmiklos at kemper.freedesktop.org
Wed Jan 19 15:21:52 PST 2011
scratch/find-undocumented-classes.sh | 31 -------------------------------
1 file changed, 31 deletions(-)
New commits:
commit ef8ff9866e193f1fce42d2cfa6d414433398be51
Author: Miklos Vajna <vmiklos at frugalware.org>
Date: Thu Jan 20 00:16:11 2011 +0100
find-undocumented-classes: move to bootstrap repo
diff --git a/scratch/find-undocumented-classes.sh b/scratch/find-undocumented-classes.sh
deleted file mode 100755
index 3040660..0000000
--- a/scratch/find-undocumented-classes.sh
+++ /dev/null
@@ -1,31 +0,0 @@
-#!/bin/bash
-
-# finds undocumented classes in the current directory (recursive)
-
-filter=
-quiet=n
-if [ "$1" = "-q" ]; then
- filter=">/dev/null"
- quiet=y
- shift
-fi
-
-doxygen=$(mktemp -d)
-eval doxygen -g $doxygen/doxygen.cfg $filter
-sed -i "/HTML_OUTPUT/s|html|$doxygen/html|" $doxygen/doxygen.cfg
-sed -i '/GENERATE_LATEX/s/= YES/= NO/' $doxygen/doxygen.cfg
-sed -i '/RECURSIVE/s/= NO/= YES/' $doxygen/doxygen.cfg
-# do we have any arguments?
-if [ -n "$*" ]; then
- sed -i "/^INPUT[^_]/s|=.*|= $*|" $doxygen/doxygen.cfg
-fi
-eval doxygen $doxygen/doxygen.cfg $filter 2> $doxygen/errors.txt
-if [ "$quiet" == "n" ]; then
- echo
- echo "The following classes are undocumented:"
- echo
-fi
-cat $doxygen/errors.txt|grep -i 'Warning: Compound.*is not documented'
-rm -rf $doxygen
-
-# vim:set shiftwidth=4 softtabstop=4 expandtab:
More information about the Libreoffice-commits
mailing list