File: Guardfile

package info (click to toggle)
ruby-grape-entity 0.7.1-1~bpo9+1
  • links: PTS, VCS
  • area: main
  • in suites: stretch-backports
  • size: 440 kB
  • sloc: ruby: 3,037; makefile: 6; sh: 4
file content (14 lines) | stat: -rw-r--r-- 389 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
# A sample Guardfile
# More info at https://github.com/guard/guard#readme

guard 'rspec', version: 2 do
  watch(%r{^spec/.+_spec\.rb$})
  watch(%r{^lib/(.+)\.rb$})     { |m| "spec/#{m[1]}_spec.rb" }
  watch(%r{^spec/support/shared_versioning_examples.rb$}) { |_m| 'spec/' }
  watch('spec/spec_helper.rb')  { 'spec/' }
end

guard 'bundler' do
  watch('Gemfile')
  watch(/^.+\.gemspec/)
end