Sha256: 3431e26d9fc65c621683d98ceb7055d5be4540ec924f5d7f773e7a799a6f049c

Contents?: true

Size: 433 Bytes

Versions: 4

Compression:

Stored size: 433 Bytes

Contents

# A sample Guardfile
# More info at https://github.com/guard/guard#readme
group :red_green_refactor, halt_on_fail: true do
  guard :rspec, cmd: 'bundle exec rspec' do
    watch(/^spec\/.+_spec\.rb$/)
    watch(/^lib\/(.+)\.rb$/) { |m| "spec/lib/#{m[1]}_spec.rb" }
    watch('spec/spec_helper.rb')  { 'spec' }
  end

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

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
rundeck-1.2.1 Guardfile
rundeck-1.2.0 Guardfile
rundeck-1.1.0 Guardfile
rundeck-1.0.2 Guardfile