Sha256: e1cc06d8ddc6a43832ab4dabb6586e87e5143e944cef98337d46c8aed7d4b21c
Contents?: true
Size: 450 Bytes
Versions: 19
Compression:
Stored size: 450 Bytes
Contents
# frozen_string_literal: true guard :rspec, cmd: 'rspec' do watch(%r{^lib/(.+).rb$}) { |m| "spec/lib/#{m[1]}_spec.rb" } watch(%r{^spec/(.+).rb$}) { |m| "spec/#{m[1]}.rb" } watch('spec/spec_helper.rb') { 'spec' } watch('spec/rails_helper.rb') { 'spec' } watch('Gemfile') end guard :rubocop, all_on_start: false, cli: ['--format', 'clang'] do watch(/.+\.rb$/) watch(%r{(?:.+/)?\.rubocop\.yml$}) { |m| File.dirname(m[0]) } end
Version data entries
19 entries across 19 versions & 1 rubygems