Sha256: 78e183d2427aba56d54bdfbbea9debe275362dc0f8e5f838707b299ed6c760a8
Contents?: true
Size: 544 Bytes
Versions: 2
Compression:
Stored size: 544 Bytes
Contents
scope groups: [:doc, :lint, :unit] group :doc do guard :yard do watch(%r{^lib/(.+)\.rb$}) end end group :lint do guard :rubocop do watch(%r{.+\.rb$}) watch(%r{(?:.+/)?\.rubocop\.yml$}) { |m| File.dirname(m[0]) } end end group :unit do guard :rspec, cmd: 'bundle exec rspec --color --format Fuubar' do watch(%r{^lib/(.+)\.rb$}) { |m| "spec/#{m[1]}_spec.rb" } watch(%r{^lib/makenew/(.+)\.rb$}) { |m| "spec/#{m[1]}_spec.rb" } watch(%r{^spec/.+_spec\.rb$}) watch('spec/spec_helper.rb') { 'spec' } end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
makenew-ruby_gem-2.0.1 | Guardfile |
makenew-ruby_gem-2.0.0 | Guardfile |