]> source.dussan.org Git - archiva.git/commitdiff
Add a script to count jars
authorCarlos Sanchez Gonzalez <carlos@apache.org>
Thu, 15 Feb 2007 19:30:00 +0000 (19:30 +0000)
committerCarlos Sanchez Gonzalez <carlos@apache.org>
Thu, 15 Feb 2007 19:30:00 +0000 (19:30 +0000)
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@508096 13f79535-47bb-0310-9956-ffa450edef68

maven-meeper/src/bin/stats.sh [new file with mode: 0755]

diff --git a/maven-meeper/src/bin/stats.sh b/maven-meeper/src/bin/stats.sh
new file mode 100755 (executable)
index 0000000..ff2bcc8
--- /dev/null
@@ -0,0 +1,13 @@
+#!/bin/sh
+
+JARS=`find $M2_REPO -iname *.jar | wc -l`
+POMS=`find $M2_REPO -iname *.pom | wc -l`
+BINJARS=`find $M2_REPO -iname *.jar ! -iname *-sources.jar ! -iname *-javadoc.jar | wc -l`
+SOURCES=`find $M2_REPO -iname *-sources.jar | wc -l`
+JAVADOCS=`find $M2_REPO -iname *-javadoc.jar | wc -l`
+
+echo total jars:  $JARS
+echo poms:        $POMS
+echo binary jars: $BINJARS
+echo sources:     $SOURCES
+echo javadocs:    $JAVADOCS