Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Tree: d74c390da8
Fetching contributors…

Cannot retrieve contributors at this time

22 lines (17 sloc) 0.584 kB
# Run me with:
# $ watchr specs.watchr
# --------------------------------------------------
# Watchr Rules
# --------------------------------------------------
watch( '^(lib|test)/.*\.rb' ) { rake }
# --------------------------------------------------
# Signal Handling
# --------------------------------------------------
Signal.trap('QUIT') { rake } # Ctrl-\
Signal.trap('INT' ) { abort("\n") } # Ctrl-C
# --------------------------------------------------
# Helpers
# --------------------------------------------------
def rake(task='')
system "rake -s #{task}"
end
Jump to Line
Something went wrong with that request. Please try again.