Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master
Fetching contributors…

Octocat-spinner-32-eaf2f5

Cannot retrieve contributors at this time

file 27 lines (20 sloc) 0.394 kb
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26
# Run me with:
#
# $ watchr docs.watchr

def run_rdoc
  system('rake --silent rdoc')
end

def run_yard
  print "\nUpdating yardocs... "
  system('rake --silent yardoc')
  print "done.\n"
end

def document
  run_rdoc
  run_yard
end

watch( 'lib/.*\.rb' ) { document }
watch( 'README.rdoc' ) { document }
watch( 'TODO.txt' ) { document }
watch( 'LICENSE' ) { document }


# vim:ft=ruby
Something went wrong with that request. Please try again.