Sha256: 989270d58fb9760540ecbc522789d3560583f2c195862f44d838c2f9c472b89b

Contents?: true

Size: 394 Bytes

Versions: 28

Compression:

Stored size: 394 Bytes

Contents

# 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

Version data entries

28 entries across 28 versions & 5 rubygems

Version Path
mynyml-watchr-0.5.2 docs.watchr
mynyml-watchr-0.5.4 docs.watchr
mynyml-watchr-0.5.5 docs.watchr
tekkub-watchr-0.5.0 docs.watchr
watchr-0.5.9 docs.watchr
nestor-0.2.4 vendor/watchr-0.5.7/docs.watchr
nestor-0.2.3 vendor/watchr-0.5.7/docs.watchr
nestor-0.2.2 vendor/watchr-0.5.7/docs.watchr
nestor-0.2.1 vendor/watchr-0.5.7/docs.watchr
nestor-0.2.0 vendor/watchr-0.5.7/docs.watchr
watchr-0.5.8 docs.watchr
smparkes-watchr-0.5.7.8 docs.watchr
smparkes-watchr-0.5.7.7 docs.watchr
smparkes-watchr-0.5.7.6 docs.watchr
smparkes-watchr-0.5.7.4 docs.watchr
smparkes-watchr-0.5.7.3 docs.watchr
smparkes-watchr-0.5.7.2 docs.watchr
smparkes-watchr-0.5.7.1 docs.watchr
smparkes-watchr-0.5.7 docs.watchr
nestor-0.1.1 vendor/watchr-0.5.7/docs.watchr