-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathgitstat.sh
More file actions
executable file
·22 lines (15 loc) · 863 Bytes
/
gitstat.sh
File metadata and controls
executable file
·22 lines (15 loc) · 863 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
#!/bin/sh
# Install
#
# aptiude install gitstat gource perl
echo "Stat script generator by TACTfactory 2012\n########################################################"""
echo "Clean stat..."
rm -rf ./doc/stats/* > /dev/null
echo "Generate HTML statistique..."
/usr/bin/gitstats ./ ./doc/stats/html/ > /dev/null
echo "Fetch Gravatar image of commiters..."
./gravatar.pl > /dev/null
echo "Generate Gource video..."
/usr/bin/gource --title "Harmony Mobile Microframework" --stop-at-end --auto-skip-seconds 1 --disable-auto-skip --max-files 0 --date-format "%d %b %y" --hide usernames,dirnames,mouse --seconds-per-day .25 --file-filter 'libs/|doc/' -user-image-dir .git/avatar/ -1280x720 -o - | ffmpeg -y -r 60 -f image2pipe -vcodec ppm -i - -vcodec libvpx -b 10000K doc/stats/lifetime.webm > /dev/null
# --logo res/drawable-xhdpi/ic_launcher.png
echo "Done !"