Sha256: 057d77ccf6881535257385a0cd820474a9a751968ac03c17efc02092c2d1a22a

Contents?: true

Size: 567 Bytes

Versions: 6

Compression:

Stored size: 567 Bytes

Contents

guard :rspec, cmd: 'bundle exec rspec' do
  require 'guard/rspec/dsl'
  dsl = Guard::RSpec::Dsl.new(self)

  # Feel free to open issues for suggestions and improvements

  # RSpec files
  rspec = dsl.rspec
  watch('spec/spec_helper.rb') { rspec.spec_dir }
  watch('spec/**/*_spec.rb') { rspec.spec_dir }
  watch(rspec.spec_files)

  # Ruby files
  ruby = dsl.ruby
  dsl.watch_spec_files_for(ruby.lib_files)

  watch(ruby.lib_files) { rspec.spec_dir }
end

# guard :rubocop do
# watch(%r{.+\.rb$})
# watch(%r{(?:.+/)?\.rubocop\.yml$}) { |m| File.dirname(m[0]) }
# end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
syncano-4.0.0.alpha4 Guardfile
syncano-4.0.0.alpha3 Guardfile
syncano-4.0.0.alpha2 Guardfile
syncano-4.0.0.alpha1 Guardfile
syncano-4.0.0.alpha Guardfile
syncano-4.0.0.pre Guardfile