Sha256: 55613dcde6772226beb37d4be49751c427d79af0f8f2e04b5d90ea2512b3db14

Contents?: true

Size: 510 Bytes

Versions: 5

Compression:

Stored size: 510 Bytes

Contents

guard :rspec, cmd: "rspec" do
  #run all specs if configuration is modified
  watch('Guardfile')           { 'spec' }
  watch('Gemfile.lock')        { 'spec' }
  watch('spec/spec_helper.rb') { 'spec' }

  # run all specs if supporting files files are modified
  watch(%r{\Aspec/(?:lib|support|shared)/.+\.rb\z}) { 'spec' }

  watch(%r{\Alib/(.+)\.rb\z}) { |m| 'spec' }

  # run a spec if it is modified
  watch(%r{\Aspec/(?:unit|integration)/.+_spec\.rb\z})

  notification :tmux, :display_message => true
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
rom-0.4.2 Guardfile
rom-0.4.1 Guardfile
rom-0.4.0 Guardfile
rom-0.3.1 Guardfile
rom-0.3.0 Guardfile