Sha256: 26836878f6577a98e71242ab36052bd481fdd847ddaf0b2e4da518c7f2f950dd
Contents?: true
Size: 799 Bytes
Versions: 3
Compression:
Stored size: 799 Bytes
Contents
# Run me with: # $ watchr docs.watchr require 'yard' # -------------------------------------------------- # Rules # -------------------------------------------------- watch( 'lib/.*\.rb' ) { yard } watch( 'README.md' ) { yard } watch( 'TODO.md' ) { yard } watch( 'LICENSE' ) { yard } # -------------------------------------------------- # Signal Handling # -------------------------------------------------- Signal.trap('QUIT') { yard } # Ctrl-\ Signal.trap('INT' ) { abort("\n") } # Ctrl-C # -------------------------------------------------- # Helpers # -------------------------------------------------- def yard print "Updating yardocs... "; STDOUT.flush YARD::CLI::Yardoc.run *%w( -o doc/yard --readme README.md --markup markdown - LICENSE TODO.md ) print "done\n" end
Version data entries
3 entries across 3 versions & 2 rubygems
Version | Path |
---|---|
social_url_stats-0.0.1 | vendor/ruby/1.9.1/gems/watchr-0.7/docs.watchr |
watchr-0.7 | docs.watchr |
watchr-0.6 | docs.watchr |