Sha256: 37218fc0cd8d8328736e998889a52b41540fde93868f282b78fdf30eece9940b

Contents?: true

Size: 690 Bytes

Versions: 10

Compression:

Stored size: 690 Bytes

Contents

# -*- ruby -*-

format = 'progress' # 'doc' for more verbose, 'progress' for less
tags   = %w[ ]      # builder_spec model_spec

guard 'rspec', :version => 2, :cli => "--format #{format} #{ tags.map{|tag| "--tag #{tag}"}.join(' ')  }" do
  watch(%r{^spec/.+_spec\.rb$})
  watch(%r{^examples/(\w+)/(.+)\.rb$}) { |m| "spec/examples/#{m[1]}_spec.rb" }
  watch(%r{^examples/(\w+)\.rb$})      { |m| "spec/examples/#{m[1]}_spec.rb" }
  watch(%r{^lib/(.+)/(.+)\.rb$})       { |m| "spec/#{m[1]}/#{m[2]}_spec.rb"  }
  watch(%r{^lib/(\w+)\.rb$})           { |m| "spec/#{m[1]}}_spec.rb"         }
  watch('spec/spec_helper.rb')         { 'spec' }
  watch(/spec\/support\/(.+)\.rb/)     { 'spec' }
end

Version data entries

10 entries across 10 versions & 2 rubygems

Version Path
configliere-0.4.22 Guardfile
configliere-0.4.18 Guardfile
wukong-3.0.0.pre Guardfile
configliere-0.4.17 Guardfile
configliere-0.4.16 Guardfile
configliere-0.4.14 Guardfile
configliere-0.4.13 Guardfile
configliere-0.4.12 Guardfile
configliere-0.4.11 Guardfile
configliere-0.4.10 Guardfile