QutBioacoustics/baw-workers

View on GitHub
Guardfile

Summary

Maintainability
Test Coverage
# More info at https://github.com/guard/guard#readme
notification :off

guard :rspec, cmd: 'bundle exec rspec --format progress --color' do
  watch(%r{^spec/.+_spec\.rb$})

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

  #watch(%r{^spec/support/.+\.rb$})  { 'spec' }
  watch('spec/spec_helper.rb')      { 'spec' }
end

# guard :yard, port: 8808, stdout: './tmp/yard-out.log', stderr: './tmp/yard-err.log' do
#   watch(%r{lib/.+\.rb})
# end