File: Guardfile

package info (click to toggle)
ruby-grape-entity 0.6.0-1
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 408 kB
  • ctags: 335
  • sloc: ruby: 2,826; makefile: 3
file content (14 lines) | stat: -rw-r--r-- 389 bytes parent folder | download | duplicates (2)
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