changed_tests=`git diff --name-only master | grep -E '\.t$'`
for_prove=()
for i in ${changed_tests[@]}; do
if [ -e $i ]; then
echo $i
for_prove+=($i)
fi
done
prove -lrv ${for_prove[*]}
More than 5 years have passed since last update.
Register as a new user and use Qiita more conveniently
- You get articles that match your needs
- You can efficiently read back useful information
- You can use dark theme