File: Guardfile

package info (click to toggle)
ruby-typhoeus 1.4.0-6
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 636 kB
  • sloc: ruby: 4,381; makefile: 6
file content (9 lines) | stat: -rw-r--r-- 235 bytes parent folder | download | duplicates (7)
1
2
3
4
5
6
7
8
9
# vim:set filetype=ruby:
guard(
  "rspec",
  all_after_pass: false,
  cli: "--fail-fast --tty --format documentation --colour") do

  watch(%r{^spec/.+_spec\.rb$})
  watch(%r{^lib/(.+)\.rb$}) { |match| "spec/#{match[1]}_spec.rb" }
end