Sha256: 876fac383adfd272264b193ff0966659516fca63bcd34b42137748b6764e2b98
Contents?: true
Size: 566 Bytes
Versions: 9
Compression:
Stored size: 566 Bytes
Contents
def watch_all # watch /lib/rspreadsheet/ files watch(%r{^lib/rspreadsheet/(.+).rb$}) do |m| "spec/#{m[1]}_spec.rb" end # watch /spec/ files watch(%r{^spec/(.+).rb$}) do |m| "spec/#{m[1]}.rb" end end # classical part scope group: :normal group :normal do guard 'rspec' do watch_all end end # see http://stackoverflow.com/questions/18501471/guard-how-to-run-specific-tags-from-w-in-guards-console group :focus do guard 'rspec', cli: '--tag focus' do watch_all end end #group :f do # guard 'rspec', cli: '--tag focus' do watch_all end #end
Version data entries
9 entries across 9 versions & 1 rubygems