Sha256: 3a3494c4338d4d9e3217b4260dbdc6ca265fc7d1ad9905304c8932ace0eaa1f7
Contents?: true
Size: 535 Bytes
Versions: 16
Compression:
Stored size: 535 Bytes
Contents
# Guardfile for pokitdok-ruby guard :minitest do # with Minitest::Unit watch(%r{^test/(.*)\/?test_(.*)\.rb$}) watch(%r{^lib/(.*/)?([^/]+)\.rb$}) { |m| "test/#{m[1]}test_#{m[2]}.rb" } watch(%r{^test/test_helper\.rb$}) { 'test' } # with Minitest::Spec watch(%r{^spec/(.*)_spec\.rb$}) watch(%r{^lib/(.+)\.rb$}) { |m| "spec/#{m[1]}_spec.rb" } watch(%r{^spec/spec_helper\.rb$}) { 'spec' } end #guard :rubocop do #watch('/lib/*.rb') #watch(%r{(?:.+/)?\.rubocop\.yml$}) { |m| File.dirname(m[0]) } #end
Version data entries
16 entries across 16 versions & 1 rubygems