Created
October 9, 2017 02:26
-
-
Save ShawnClake/16ff3be0115d47ea1d2cb835156161a0 to your computer and use it in GitHub Desktop.
Counting lines for the Rubicon repositories
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
echo "=========" | |
echo "RRPG Core" | |
echo "=========" | |
cd rrpg-core | |
git ls-files | grep "\.java$" | xargs wc -l | |
cd ../ | |
echo "===RRPG Core===" | |
echo "" | |
echo "==============" | |
echo "RRPG Economics" | |
echo "==============" | |
cd rrpg-economics | |
git ls-files | grep "\.java$" | xargs wc -l | |
cd ../ | |
echo "===RRPG Economics===" | |
echo "" | |
echo "===========" | |
echo "RRPG Social" | |
echo "===========" | |
cd rrpg-social | |
git ls-files | grep "\.java$" | xargs wc -l | |
cd ../ | |
echo "===RRPG Social===" | |
echo "" | |
echo "==========" | |
echo "RRPG Items" | |
echo "==========" | |
cd rrpg-items | |
git ls-files | grep "\.java$" | xargs wc -l | |
cd ../ | |
echo "===RRPG Items===" | |
echo "" | |
echo "==========" | |
echo "RRPG Skills" | |
echo "==========" | |
cd rrpg-skills | |
git ls-files | grep "\.java$" | xargs wc -l | |
cd ../ | |
echo "===RRPG Skills===" | |
echo "" | |
echo "==========" | |
echo "RRPG Total" | |
echo "==========" | |
find . -name '*.java' | xargs wc -l | |
echo "===RRPG Total===" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment