Sha256: cc6ac40ff0135accc74beaa20b3bc4447729a2ae99805c9608c72ac142114e81

Contents?: true

Size: 470 Bytes

Versions: 2

Compression:

Stored size: 470 Bytes

Contents

group :red_green_refactor, halt_on_fail: true do

  guard 'rspec', cmd: 'bundle exec rspec' do
    watch('spec/spec_helper.rb')    { 'spec' }
    watch(%r{^spec/(.+)_spec\.rb$}) { |m| "spec/#{m[1]}_spec.rb" }
    watch(%r{^lib/(.+)\.rb$})       { |m| "spec/#{m[1]}_spec.rb" }
  end

  guard :rubocop, all_on_start: false, cli: ['--format', 'clang', '--rails'] do
    watch(%r{.+\.rb$})
    watch(%r{(?:.+/)?\.(rubocop|hound)\.yml$}) { |m| File.dirname(m[0]) }
  end
end

Version data entries

2 entries across 2 versions & 2 rubygems

Version Path
spree_postal_service-2.3.0 Guardfile
post_clerk-0.4 Guardfile