Skip to content
This repository
tag: v0.11.1
Fetching contributors…

Octocat-spinner-32-eaf2f5

Cannot retrieve contributors at this time

file 12 lines (9 sloc) 0.24 kb
1 2 3 4 5 6 7 8 9 10 11
def run(cmd)
  puts cmd
  system cmd
end

def spec(file)
  run "spec -O spec/spec.opts #{file}"
end

watch("spec/.*/*_spec\.rb") {|md| p md[0]; spec(md[0]) }
watch('lib/(.*/.*)\.rb') {|md| p md[1]; spec("spec/unit/#{md[1]}_spec.rb") }
Something went wrong with that request. Please try again.