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

Version Path
pokitdok-ruby-0.9.2 Guardfile
pokitdok-ruby-0.9.1 Guardfile
pokitdok-ruby-0.9.0 Guardfile
pokitdok-ruby-0.8.1 Guardfile
pokitdok-ruby-0.8.0 Guardfile
pokitdok-ruby-0.7.4 Guardfile
pokitdok-ruby-0.7.3 Guardfile
pokitdok-ruby-0.7.2 Guardfile
pokitdok-ruby-0.7.1 Guardfile
pokitdok-ruby-0.7.0 Guardfile
pokitdok-ruby-0.6.0 Guardfile
pokitdok-ruby-0.5.0 Guardfile
pokitdok-ruby-0.4.1 Guardfile
pokitdok-ruby-0.4.0 Guardfile
pokitdok-ruby-0.3.1 Guardfile
pokitdok-ruby-0.3.0 Guardfile