Sha256: 03af2672e99e0cdd687b5caebbe76410d6f5c784ace8d3278ac4cbc04b0f0e18

Contents?: true

Size: 397 Bytes

Versions: 24

Compression:

Stored size: 397 Bytes

Contents

# More info at https://github.com/guard/guard#readme

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

  # RSpec files
  rspec = dsl.rspec
  watch(rspec.spec_helper) { rspec.spec_dir }
  watch(rspec.spec_support) { rspec.spec_dir }
  watch(rspec.spec_files)

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

Version data entries

24 entries across 24 versions & 1 rubygems

Version Path
percy-common-1.4.1 Guardfile
percy-common-1.4.0 Guardfile
percy-common-1.3.0 Guardfile
percy-common-1.2.0 Guardfile