Sha256: c7512405747cbdebedc9b751ded379c51c1bb95056446b994b47d639be3b57e6
Contents?: true
Size: 674 Bytes
Versions: 2
Compression:
Stored size: 674 Bytes
Contents
guard 'foodcritic', cookbook_paths: '.' do watch(%r{attributes/.+\.rb$}) watch(%r{providers/.+\.rb$}) watch(%r{recipes/.+\.rb$}) watch(%r{resources/.+\.rb$}) watch(%r{templates/.+$}) watch('metadata.rb') end guard :rubocop do watch(%r{/.+\.rb$/}) watch(%r{(?:.+/)?\.rubocop\.yml$}) { |m| File.dirname(m[0]) } end guard :rspec, cmd: 'bundle exec rspec' do require 'guard/rspec/dsl' dsl = Guard::RSpec::Dsl.new(self) # RSpec files rspec = dsl.rspec watch(rspec.spec_helper) { rspec.spec_dir } watch(rspec.spec_support) { rspec.spec_dir } watch(rspec.spec_files) # Ruby files ruby = dsl.ruby dsl.watch_spec_files_for(ruby.lib_files) end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
knife-skeleton-0.6.1 | files/Guardfile |
knife-skeleton-0.6.0 | files/Guardfile |