]> git.mxchange.org Git - shipsimu.git/commitdiff
Script for PHP_Depend (required) added
authorRoland Häder <roland@mxchange.org>
Sun, 10 Aug 2008 21:01:10 +0000 (21:01 +0000)
committerRoland Häder <roland@mxchange.org>
Sun, 10 Aug 2008 21:01:10 +0000 (21:01 +0000)
.gitattributes
pdepend.sh [new file with mode: 0755]

index 546bd2511eedb91b459f664b2bd2d8d1f0d97611..95797f55667658eaa148c1d90c67e756b8b9c316 100644 (file)
@@ -755,6 +755,7 @@ inc/output.php -text
 inc/selector.php -text
 /index.php -text
 /package.sh -text
+/pdepend.sh -text
 /rebuild_doc.sh -text
 templates/.htaccess -text
 templates/_compiled/.htaccess -text
diff --git a/pdepend.sh b/pdepend.sh
new file mode 100755 (executable)
index 0000000..c6680b3
--- /dev/null
@@ -0,0 +1,8 @@
+#!/bin/sh
+
+if ! test -e `which pdepend`; then
+       echo "$0: This script needs PHP_Depend. See URL"
+       echo "$0: http://www.manuel-pichler.de/pages/pdepend.html for details."
+fi
+
+pdepend --bad-documentation --ignore=db,docs,ship-simu.org --jdepend-chart=test.png --overview-pyramid=pyramid.png --summary-xml=summary.xml --jdepend-xml=jdepend.xml .