Sha256: 1069c8329a8a158fd9e03929f6343ec4e6c5d7d2e77c89c95fb8e91e933c6b79

Contents?: true

Size: 773 Bytes

Versions: 1

Compression:

Stored size: 773 Bytes

Contents

# -*- ruby -*-

# guard 'yard', :stdout => '/dev/null' do
#   watch(%r{lib/.+\.rb})
#   watch(%r{notes/.+\.(md|txt)}) { "notes" }
# end

# '--format doc'     for more verbose, --format progress for less
format  = "progress"
# '--tag record_spec' to only run tests tagged :record_spec
tags    = %w[  ]  # builder_spec example_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/.+)\.rb}){|m|      "spec/#{m[1]}_spec.rb" }
  watch(%r{^lib/gorillib/(.+)\.rb$}){|m| ["spec/gorillib/#{m[1]}_spec.rb", "spec/examples/builder/ironfan_spec.rb"] }
  watch('spec/spec_helper.rb'){           "spec" }
  watch(/spec\/support\/(.+)\.rb/){       "spec" }
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
gorillib-0.4.1pre Guardfile