Sha256: bd69803b8815abe7909effb5f5c7ed07ce4ddfc2945a9ac15303e0c96411a3e0

Contents?: true

Size: 578 Bytes

Versions: 1

Compression:

Stored size: 578 Bytes

Contents

group :tdd, halt_on_fail: true do
  guard :rspec,
        cmd: 'bundle exec rspec -f documentation --color',
        run_all: {cmd: 'bundle exec rspec -f documentation --color'},
        keep: true,
        all_on_start: true,
        all_after_pass: true do

    watch(%r{^spec/.+_spec\.rb$})
    watch(%r{^lib/(.+)\.rb$}) { |m| "spec/lib/#{m[1]}_spec.rb" }
    watch('lib/mcgee.rb') { 'spec' }
  end
  guard :rubocop, cmd: 'bundle exec rubocop', cli: '-fs -c./.rubocop.yml' do
    watch(%r{.+\.rb$})
    watch(%r{(?:.+/)?\.rubocop\.yml$}) { |m| File.dirname(m[0]) }
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
ataulfo-1.0.1 Guardfile