-
Notifications
You must be signed in to change notification settings - Fork 0
/
project-report
14 lines (12 loc) · 983 Bytes
/
project-report
1
2
3
4
5
6
7
8
9
10
11
12
13
14
set -x
NOW=$(date +"%Y%m%d")
cd /home/developer/project && git pull
git --git-dir=/home/developer/project/.git --work-tree=/home/developer/project status >> /home/developer/project-report/$NOW.report
echo "-----------------------------------------------------------------------" >> /home/developer/project-report/$NOW.report
cd /home/developer/project-report
grep -r -C3 "@Test" /home/developer/project >> /home/developer/project-report/$NOW.report
grep -r "@Test" /home/developer/project | wc -l >> /home/developer/project-report/$NOW.report
echo "-----------------------------------------------------------------------" >> /home/developer/project-report/$NOW.report
grep -r -C3 "@Ignore" /home/developer/project >> /home/developer/project-report/$NOW.report
grep -r "@Ignore" /home/developer/project | wc -l >> /home/developer/project-report/$NOW.report
echo "-----------------------------------------------------------------------" >> /home/developer/project-report/$NOW.report