Sha256: c71e56402d4fdaa744fe5000831ec1cfe78b42b8015edee313f1946e36d7ac6b

Contents?: true

Size: 678 Bytes

Versions: 4

Compression:

Stored size: 678 Bytes

Contents

notification :tmux,
  :display_message => true,
  :timeout => 3 # in seconds

# ignore /doc/

group :red_green_refactor, halt_on_fail: true do
  guard 'rspec', cmd: "bundle exec rspec --color --format p", all_after_pass: true do
    watch(%r{^spec/.+_spec\.rb$})
    watch(%r{^lib/(.+)\.rb$})               { |m| "spec/lib/#{m[1]}_spec.rb" }
    watch('spec/spec_helper.rb')            { 'spec' }
    watch(%r{^spec/support/(.+)\.rb})       { 'spec' }
    watch(%r{^spec/fixtures/(.+)})          { 'spec' }
  end

  guard :rubocop, cli: %w(--display-cop-names --auto-correct) do
    watch(%r{.+\.rb$})
    watch(%r{(?:.+/)?\.rubocop\.yml$}) { |m| File.dirname(m[0]) }
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
codeqa-0.4.1 Guardfile
codeqa-0.4.0 Guardfile
codeqa-0.4.0.pre2 Guardfile
codeqa-0.4.0.pre Guardfile