Sha256: f75f211b73aa7bc6d1bddbda6a03cb32cb96417698433884213429070a9dca01
Contents?: true
Size: 631 Bytes
Versions: 3
Compression:
Stored size: 631 Bytes
Contents
# frozen_string_literal: true # Config file for Guard # More info at https://github.com/guard/guard#readme group :red_green_refactor, halt_on_fail: true do guard :rspec, cmd: 'bundle exec rspec' do watch(%r{^spec/.+_spec\.rb$}) watch(%r{^lib/praxis-blueprints/(.+)\.rb$}) { |m| "spec/praxis-blueprints/#{m[1]}_spec.rb" } watch('spec/*.rb') { 'spec' } watch('lib/praxis-blueprints.rb') { 'spec' } watch(%r{^spec/support/(.+)\.rb$}) { 'spec' } end guard :rubocop, cli: '--auto-correct --display-cop-names' do watch(/.+\.rb$/) watch(%r{(?:.+/)?\.rubocop\.yml$}) { |m| File.dirname(m[0]) } end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
praxis-blueprints-3.5 | Guardfile |
praxis-blueprints-3.4 | Guardfile |
praxis-blueprints-3.3 | Guardfile |