Created
December 20, 2016 11:12
-
-
Save calcsam/3a7e090f392da3fe435e310dd0691ac5 to your computer and use it in GitHub Desktop.
Simple shell script to measure app complexity over time
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
for i in {1..100} | |
do | |
a=$(find ./assets/ -name *.jsx | xargs wc -l | tail -n 1); b=$(git rev-parse HEAD); c=$(git show -s --format=%ct $b); echo $a $b $c >> ~/Documents/line-log.txt; git checkout HEAD~1 | |
done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment