Sha256: 4fb7ddbe01e69af46afa9de682a29c411d8442c8556e370fb8719f0e11b987d9

Contents?: true

Size: 689 Bytes

Versions: 1

Compression:

Stored size: 689 Bytes

Contents

guard :bundler do
  watch('Gemfile')
  watch('basquiat.gemspec')
end

guard :rspec, { cmd:  'bundle exec rspec', all_on_start: true,
                keep: true, all_after_pass: true, run_all: { cmd: 'rspec -f progress' } } do
  watch(%r{^spec/.+_spec.rb$})
  watch(%r{^spec/lib/.+_spec.rb$})
  watch(%r{^lib/basquiat/(.+)\.rb$}) { |matchdata| "spec/lib/#{matchdata[1]}_spec.rb" }
  watch('spec/spec_helper.rb') { 'spec' }
  watch(%r{spec/support/.+\.rb}) { 'spec' }
end

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

guard 'yard', { cli: '-r' } do
  watch(%r{lib/.+\.rb})
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
basquiat-1.3.0.pre.1 Guardfile