Sha256: e9021d7507558dcbb1681bf4be699af7f595bef015737d1265c0dea7db7332d6

Contents?: true

Size: 489 Bytes

Versions: 10

Compression:

Stored size: 489 Bytes

Contents

# A sample Guardfile
# More info at https://github.com/guard/guard#readme

guard :rspec, cli: "--color", all_on_start: true do
  watch(%r{^spec/.+_spec\.rb$})
  watch(%r{^lib/(.+)\.rb$}) { |m| "spec/#{m[1]}_spec.rb" }
  watch('spec/spec_helper.rb')  { "spec" }
end

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

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
statesman-0.7.0 Guardfile
statesman-0.6.1 Guardfile
statesman-0.6.0 Guardfile
statesman-0.5.0 Guardfile
statesman-0.4.0 Guardfile
statesman-0.3.0 Guardfile
statesman-0.2.1 Guardfile
statesman-0.2.0 Guardfile
statesman-0.1.0 Guardfile
statesman-0.0.1 Guardfile