File: Guardfile

package info (click to toggle)
homesick 1.1.6-2
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, buster, sid
  • size: 296 kB
  • sloc: ruby: 1,361; makefile: 12
file content (6 lines) | stat: -rw-r--r-- 232 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
guard :rspec, :cmd => 'bundle exec rspec' do
  watch(%r{^spec/.+_spec\.rb$})
  watch(%r{^lib/(.+)\.rb$})     { |m| "spec/#{m[1]}_spec.rb" }
  watch(%r{^lib/homesick/.*\.rb}) { "spec" }
  watch('spec/spec_helper.rb')  { "spec" }
end