Sha256: 366cf05f4ad815014cea82c4c2f8cc850ad18ff3c38b92325eabf194f98a5120

Contents?: true

Size: 459 Bytes

Versions: 6

Compression:

Stored size: 459 Bytes

Contents

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

# automatically check Ruby code style with Rubocop when files are modified
guard :rubocop, all_on_start: false, keep_failed: false do
  watch(/.+\.rb$/)
  watch(%r{(?:.+/)?\.rubocop\.yml$}) { |m| File.dirname(m[0]) }
end

guard :minitest do
  watch(%r{^test/.+_test\.rb$})
  watch('test/test_helper.rb') { 'test' }

  watch(%r{^lib/tnql/(.+)\.rb$}) { |m| "test/#{m[1]}_test.rb" }
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
tnql-1.1.0 Guardfile
tnql-1.0.4 Guardfile
tnql-1.0.3 Guardfile
tnql-1.0.2 Guardfile
tnql-1.0.1 Guardfile
tnql-1.0.0 Guardfile