public
Description: Launch a command when files are modified
Homepage: http://yapok.org/
Clone URL: git://github.com/madx/trigger.git
trigger / spec.sh
100755 7 lines (5 sloc) 0.1 kb
1
2
3
4
5
6
7
#!/bin/bash
log=`bacon spec/*_spec.rb`
 
if [ $? != 0 ]; then
notify-send "Tests failed" "$log"
fi