Sha256: ac7e87784126815cc51ce930e2dade420b55e51653302fd064d28e14ad5bade7

Contents?: true

Size: 769 Bytes

Versions: 3

Compression:

Stored size: 769 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

guard :reek do
  watch(/^lib\/(.+)\.rb$/)
end

Version data entries

3 entries across 3 versions & 2 rubygems

Version Path
tsdb_time_series-4.1.2 Guardfile
projecter-0.0.3 files/Guardfile
projecter-0.0.2 files/Guardfile