Sha256: 2dd08a27d8b42c9a9c59e8d14a4d670ec5184599c42e944c16f3b2361ed0b48d

Contents?: true

Size: 571 Bytes

Versions: 60

Compression:

Stored size: 571 Bytes

Contents

# frozen_string_literal: true

scope groups: %i[doc lint unit]

group :doc do
  guard :yard do
    watch(%r{^lib/(.+)\.rb$})
  end
end

group :lint do
  guard :rubocop do
    watch(%r{.+\.rb$})
    watch(%r{(?:.+/)?\.rubocop\.yml$}) { |m| File.dirname(m[0]) }
  end
end

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

Version data entries

60 entries across 60 versions & 1 rubygems

Version Path
howzit-2.1.16 Guardfile
howzit-2.1.15 Guardfile
howzit-2.1.14 Guardfile
howzit-2.1.13 Guardfile
howzit-2.1.12 Guardfile
howzit-2.1.10 Guardfile
howzit-2.1.9 Guardfile
howzit-2.1.8 Guardfile
howzit-2.1.7 Guardfile
howzit-2.1.6 Guardfile
howzit-2.1.5 Guardfile
howzit-2.1.4 Guardfile
howzit-2.1.3 Guardfile
howzit-2.1.2 Guardfile
howzit-2.1.1 Guardfile
howzit-2.1.0 Guardfile
howzit-2.0.34 Guardfile
howzit-2.0.33 Guardfile
howzit-2.0.32 Guardfile
howzit-2.0.31 Guardfile