Sha256: 560c9298f63cec2b9a2916281131ba953a5d0f088d25605747971074f97367c1
Contents?: true
Size: 627 Bytes
Versions: 10
Compression:
Stored size: 627 Bytes
Contents
# A sample Guardfile # More info at https://github.com/guard/guard#readme ## Uncomment and set this to only include directories you want to watch # directories %w(app lib config test spec feature) ## Uncomment to clear the screen before every task # clearing :on guard :rubocop do watch(/.+\.rb$/) watch(%r{(?:.+/)?\.rubocop\.yml$}) { |m| File.dirname(m[0]) } end guard :rspec, cmd: 'bundle exec rspec' do watch(%r{^spec/.+_spec\.rb$}) watch(%r{^lib/(.+)\.rb$}) { |m| "spec/#{m[1]}_spec.rb" } watch(%r{^generators/(.+)\.rb$/}) { |_m| 'spec/schemaless/worker_spec' } watch('spec/spec_helper.rb') { 'spec' } end
Version data entries
10 entries across 10 versions & 1 rubygems