rung-tools/rung-cli

View on GitHub
scripts/lines.sh

Summary

Maintainability
Test Coverage
#!/bin/bash

echo '----------------------------'
echo 'Lines of source code'
echo '----------------------------'
find src -name '*.js' | xargs wc -l

echo '----------------------------'
echo 'Lines of tests'
echo '----------------------------'
find test -name '*.js' | xargs wc -l