Sha256: fd719f87530307c91f77598450857e48a818fa6c13adf4e4538619375bc2952b

Contents?: true

Size: 407 Bytes

Versions: 5

Compression:

Stored size: 407 Bytes

Contents

# frozen_string_literal: true

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

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

Version data entries

5 entries across 5 versions & 2 rubygems

Version Path
light_gpt_proxy-0.1.0 Guardfile
rails_spotlight-0.1.7 Guardfile
rails_spotlight-0.1.6 Guardfile
rails_spotlight-0.1.5 Guardfile
rails_spotlight-0.1.4 Guardfile