Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Tag: v0.9.4
Fetching contributors…

Cannot retrieve contributors at this time

37 lines (31 sloc) 0.771 kB
# Run me with:
#
# $ watchr gem.watchr
#
# Manifest file can be automatically generated with:
#
# $ cat .git/hooks/post-commit
# #!bin/sh
# git ls-files > Manifest
#
# --------------------------------------------------
# Helpers
# --------------------------------------------------
def build
system "rake -s gem"; puts
end
# --------------------------------------------------
# Watchr Rules
# --------------------------------------------------
watch( '^Rakefile$' ) { build }
watch( '^Manifest$' ) { build }
# --------------------------------------------------
# Signal Handling
# --------------------------------------------------
# Ctrl-\
Signal.trap('QUIT') do
puts " --- Building Gem ---\n\n"
build
end
# Ctrl-C
Signal.trap('INT') { abort("\n") }
Jump to Line
Something went wrong with that request. Please try again.