simpler 'cake loc' task.

This commit is contained in:
Jeremy Ashkenas 2010-06-11 18:53:12 -04:00
parent 7987d4e5ce
commit 59e41f195b
1 changed files with 1 additions and 1 deletions

View File

@ -75,7 +75,7 @@ task 'doc:underscore', 'rebuild the Underscore.coffee documentation page', ->
task 'loc', 'count the lines of source code in CoffeeScript', ->
exec "cat src/*.coffee | grep -v '^\\( *#\\|\\s*$\\)' | wc -l | tr -s ' '", (err, stdout) ->
print "lines of code in src/*.coffee:$stdout"
print stdout
task 'test', 'run the CoffeeScript language test suite', ->