Sha256: 0cb4a7fd5f2a4534d57c0a022b02bcd7e3e1200a48769c09127d3086bc579f0c

Contents?: true

Size: 574 Bytes

Versions: 4

Compression:

Stored size: 574 Bytes

Contents

# More info at https://github.com/guard/guard#readme

notification :terminal_notifier, subtitle: 'ruby.gems.new'

guard :bundler do
  watch('Gemfile')
end

guard :rspec, all_after_pass: true, all_on_start: true, cmd: 'bundle exec rspec spec tasks ~/.new/tasks' do
  watch(%r{^spec/.+_spec\.rb$})
  watch(%r{^tasks/.+_spec\.rb$})
  watch(%r{^tasks/(.+[^_spec])\.rb$}) { |m| "tasks/#{m[1]}_spec.rb" }
  watch(%r{^lib/(.+)\.rb$})           { |m| "spec/lib/#{m[1]}_spec.rb" }
  watch('spec/spec_helper.rb')        { 'spec' }
  watch('.rspec')                     { 'spec' }
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
new-0.0.15 Guardfile
new-0.0.14 Guardfile
new-0.0.13 Guardfile
new-0.0.12 Guardfile