You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@directory.apache.org by er...@apache.org on 2006/01/03 09:22:23 UTC

svn commit: r365572 - /directory/trunk/codesize.sh

Author: ersiner
Date: Tue Jan  3 00:22:15 2006
New Revision: 365572

URL: http://svn.apache.org/viewcvs?rev=365572&view=rev
Log:
Calculating the total lines of code is much easier now. Adding a simple script. It can further be improved to give details for subprojects.

Added:
    directory/trunk/codesize.sh   (with props)

Added: directory/trunk/codesize.sh
URL: http://svn.apache.org/viewcvs/directory/trunk/codesize.sh?rev=365572&view=auto
==============================================================================
--- directory/trunk/codesize.sh (added)
+++ directory/trunk/codesize.sh Tue Jan  3 00:22:15 2006
@@ -0,0 +1,3 @@
+#!/bin/sh
+
+echo Total lines of Java code is $(find . -type f -regex '.*\.java' | xargs cat | wc -l).

Propchange: directory/trunk/codesize.sh
------------------------------------------------------------------------------
    svn:executable = *