#!/bin/bash
file=/tmp/screenshotOverview-$(date +%F-%H-%M-%S)
echo "
" >> $file
echo "
Test name |
Blue on light |
Blue on dark |
White on light |
White on dark |
" >> $file
for screenshot in $(find screenshots/gplay -type f | grep -v "_dark_" | grep -v "_light_" | sort); do
echo "" >> $file
#name
echo "$screenshot (base) | " >> $file
#base
echo "/$screenshot) | " >> $file
baseName=$(echo $screenshot | sed s'/\.png//')
for type in dark_blue light_white dark_white; do
echo "/$baseName""_""$type.png\") | " >> $file
done
echo "
" >> $file
done
echo "
" >> $file
echo $file