Sha256: 689af809313931fc7340e2df473b1d0381d32706baea4d0d9980c963bdc57bb9
Contents?: true
Size: 722 Bytes
Versions: 15
Compression:
Stored size: 722 Bytes
Contents
# vim: ft=ruby # More info at https://github.com/guard/guard#readme # # More info also at https://github.com/guard/guard-rspec -- this one in # particular details configuration options such as whether to run all tests # after a failing test starts passing guard :rspec, cli: '--tag ~slow' do watch(/^spec\/.+_spec\.rb/) watch(/^lib\/(.+)\.rb$/) do |match| %w(unit integration acceptance).map do |kind| "spec/#{kind}/lib/#{match[1]}_spec.rb" end end watch('spec/spec_helper.rb') { 'spec' } watch(%r{^spec/(fixtures|resources)(/|.rb)}) { 'spec' } end guard :rubocop, all_on_start: false do watch('Guardfile') watch(/.+\.rb$/) watch(/(?:.+\/)?\.rubocop\.yml$/) { |m| File.dirname(m[0]) } end
Version data entries
15 entries across 11 versions & 2 rubygems