Skip to content

Latest commit

 

History

History
40 lines (28 loc) · 1.02 KB

README.md

File metadata and controls

40 lines (28 loc) · 1.02 KB

Guard Blink

Tools to help use blink(1) with ruby guard to report on test status

Install

Download the official blink1-tool and add it to your path

Add these lines to the test sections you want to use blink(1) on:

callback(:run_all_begin) {
  `cd /path/to/blinky; ./pulse.sh`
}
callback(:run_on_changes_begin) {
  `cd /path/to/blinky; ./pulse.sh FAST`
}

For Example:

guard :rspec do
  callback(:run_all_begin) {
    `cd /path/to/blinky; ./pulse.sh`
  }
  callback(:run_on_changes_begin) {
    `cd /path/to/blinky; ./pulse.sh FAST`
  }
end

Run the blinky-watch.sh script in some other terminal window or tab

cd /path/to/blinky; ./blink-watch.sh