Sha256: 45c1af6e7500e6f763c9c0e4ec540834c56d36a89256f275f99d2781fa16c900
Contents?: true
Size: 675 Bytes
Versions: 2
Compression:
Stored size: 675 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
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
codeqa-0.5.0 | Guardfile |
codeqa-0.4.2 | Guardfile |