andrefreitas
5/20/2015 - 12:04 PM

schwa_learning.sh

if [ -z "$1" ]
then
  echo "usage: $0 <git repository path>"
else
  touch report_$USER.txt
  echo "This will take a while..."
  echo "Learning with 5 commits"
  schwa $1 --commits 5 -l >> report_$USER.txt
  echo "Learning with 50 commits"
  schwa $1 --commits 50 -l >> report_$USER.txt
  echo "Learning with 100 commits"
  schwa $1 --commits 100 -l >> report_$USER.txt
  echo "Thank you! You are the best! Send report_$USER.txt to Andre :)"
fi