Sha256: 4d639b05b8c1a65bb2fa468423f4a2ca4a831fce09d146b05a3ddedab5c58a50
Contents?: true
Size: 1.11 KB
Versions: 12
Compression:
Stored size: 1.11 KB
Contents
#!/usr/bin/env ruby interactor :off guard 'bundler' do watch('Gemfile') watch(/^.+\.gemspec/) end guard 'livereload' do watch(%r{(app|spec/dummy/app)/views/.+\.(erb|haml|slim)$}) watch(%r{(app|spec/dummy/app)/helpers/.+\.rb}) watch(%r{(public|spec/dummy/public)/.+\.(css|js|html)}) watch(%r{config/locales/.+\.yml}) watch(%r{(app|vendor|spec/dummy/app)/assets/\w+/(.+\.(css|js|html)).*}) { |m| "/assets/#{m[2]}" } end guard 'rspec', :cli => '--fail-fast --tag ~@slow:true' do watch(%r{^spec/.+_spec\.rb$}) watch(%r{^lib/(.+)\.rb$}) { |m| "spec/lib/#{m[1]}_spec.rb" } watch('spec/spec_helper.rb') { "spec" } watch(%r{^app/(.+)\.rb$}) { |m| "spec/#{m[1]}_spec.rb" } watch(%r{^app/(.*)(\.erb|\.haml)$}) { |m| "spec/#{m[1]}#{m[2]}_spec.rb" } watch(%r{^app/controllers/(.+)_(controller)\.rb$}) { |m| ["spec/routing/#{m[1]}_routing_spec.rb", "spec/#{m[2]}s/#{m[1]}_#{m[2]}_spec.rb", "spec/acceptance/#{m[1]}_spec.rb"] } watch(%r{^spec/support/(.+)\.rb$}) { "spec" } watch('app/controllers/application_controller.rb') { "spec/controllers" } end
Version data entries
12 entries across 12 versions & 1 rubygems