Sha256: ad0d1957cae2950b51cf2246b4f7847deff7ff7a5f52e98e8863b3a146c07338
Contents?: true
Size: 399 Bytes
Versions: 3
Compression:
Stored size: 399 Bytes
Contents
guard :bundler do watch('Gemfile') watch(/^.+\.gemspec/) end guard :rspec, cmd: 'bundle exec rspec' do watch(/^spec\/.+_spec\.rb$/) watch(/^lib\/(.+)\.rb$/) { |m| "spec/lib/#{m[1]}_spec.rb" } watch('spec/spec_helper.rb') { 'spec' } watch(%r{spec/(db|dummy)/.*\.rb}) { 'spec' } end guard :rubocop do watch(/.+\.rb$/) watch(/(?:.+\/)?\.rubocop\.yml$/) { |m| File.dirname(m[0]) } end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
valhammer-0.1.2 | Guardfile |
valhammer-0.1.1 | Guardfile |
valhammer-0.1.0 | Guardfile |