Sha256: c85e2128996a516289fbc18b2a0726e26ba16474256600ccdc37639ce31aa61c
Contents?: true
Size: 632 Bytes
Versions: 3
Compression:
Stored size: 632 Bytes
Contents
# A sample Guardfile # More info at https://github.com/guard/guard#readme ## Uncomment and set this to only include directories you want to watch # directories %w(app lib config test spec feature) ## Uncomment to clear the screen before every task # clearing :on guard :rubocop do watch(/.+\.rb$/) watch(%r{(?:.+/)?\.rubocop\.yml$}) { |m| File.dirname(m[0]) } end guard :rspec, cmd: 'bundle exec rspec' do watch(%r{^spec/.+_spec\.rb$}) watch(%r{^lib/(.+)\.rb$}) { |m| "spec/#{m[1]}_spec.rb" } watch(%r{^generators/(.+)\.rb$/}) { |_m| 'spec/schemaless/worker_spec' } watch('spec/spec_helper.rb') { 'spec' } end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
yamg-0.5.3 | Guardfile |
yamg-0.5.1 | Guardfile |
yamg-0.5.0 | Guardfile |