Sha256: cb1d93c64780e3efdcbdc0e62e2ff338fbabd6a84afe78b6148116631a848295

Contents?: true

Size: 653 Bytes

Versions: 2

Compression:

Stored size: 653 Bytes

Contents

guard :rspec,
  :cmd => 'bin/rspec',
  :run_all => {:cmd => 'bin/rspec --profile'},
  :all_after_pass => true,
  :all_on_start => true,
  :failed_mode => :focus do

  watch(%r{^spec/.+_spec\.rb$})
  watch(%r{^lib/(.+)\.rb$})   { |m| "spec/#{m[1]}_spec.rb" }
  watch('spec/spec_helper.rb')  { 'spec' }
  watch('.rspec')  { 'spec' }
end

guard :bundler do
  require 'guard/bundler'
  require 'guard/bundler/verify'
  helper = Guard::Bundler::Verify.new

  files = ['Gemfile']
  files += Dir['*.gemspec'] if files.any? { |f| helper.uses_gemspec?(f) }

  # Assume files are symlinked from somewhere
  files.each { |file| watch(helper.real_path(file)) }
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
ffmprb-0.10.1 Guardfile
ffmprb-0.10.0 Guardfile