Sha256: bdc406b8074f4cc0b78d2f013ca3d6a7dba4bda2dac05a84165640601c00d2eb

Contents?: true

Size: 530 Bytes

Versions: 47

Compression:

Stored size: 530 Bytes

Contents

# encoding: utf-8

guard :bundler do
  watch('Gemfile')
end

guard :rspec, :all_after_pass => false, :all_on_start => false, :cmd => 'bundle exec rspec --fail-fast --seed 0' do
  # run all specs if the spec_helper or supporting files files are modified
  watch('spec/spec_helper.rb')                      { 'spec/unit' }
  watch(%r{\Aspec/(?:lib|support|shared)/.+\.rb\z}) { 'spec/unit' }

  watch(%r{lib/.*.rb})                              { 'spec/unit' }

  # run a spec if it is modified
  watch(%r{\Aspec/.+_spec\.rb\z})
end

Version data entries

47 entries across 47 versions & 1 rubygems

Version Path
mutant-0.8.3 Guardfile
mutant-0.8.2 Guardfile
mutant-0.8.1 Guardfile
mutant-0.8.0 Guardfile
mutant-0.7.9 Guardfile
mutant-0.7.8 Guardfile
mutant-0.7.7 Guardfile
mutant-0.7.6 Guardfile
mutant-0.7.5 Guardfile
mutant-0.7.4 Guardfile
mutant-0.7.3 Guardfile
mutant-0.7.2 Guardfile
mutant-0.7.1 Guardfile
mutant-0.6.7 Guardfile
mutant-0.6.6 Guardfile
mutant-0.6.5 Guardfile
mutant-0.6.4 Guardfile
mutant-0.6.3 Guardfile
mutant-0.6.2 Guardfile
mutant-0.6.0 Guardfile