Sha256: 9af7de4b8f6f5fbe1ded9ddabff9ab69ea80e74bb748d6924ed0d4d83fd31e49
Contents?: true
Size: 373 Bytes
Versions: 9
Compression:
Stored size: 373 Bytes
Contents
#!/bin/bash # Runs each spec file independently for spec in $(find spec -name "*_spec.rb*"); do echo "Running $spec..." until bundle exec rspec "$spec"; do echo -n -e "\n$spec failed. Retry? " read answer if [ "$answer" != "${answer#[Yy]}" ]; then echo "Retrying..." else echo "Aborting!" exit fi done echo "Success!" done
Version data entries
9 entries across 9 versions & 1 rubygems