Sha256: 18ad9725cdea14b7b1ed7a67a02bbaccd370e63435d6493f36ab152b828a37df

Contents?: true

Size: 544 Bytes

Versions: 69

Compression:

Stored size: 544 Bytes

Contents

desc "generate rdoc files"
task :rdoc do
	root_dir = File.dirname(__FILE__)

	dirlist = Dir.glob(root_dir + "/rdoc/**/").sort {
		|a,b| b.split('/').size <=> a.split('/').size
	}
	dirlist.each {|d|
		Dir.foreach(d) {|f|
			File::delete(d + f) if !(/\.+$/ =~ f)
		}
		Dir.rmdir(d)
	}

	`cd #{root_dir} && rdoc --all --charset=UTF8 --op=rdoc --inline-source README ChangeLog index.rb update.rb tdiary.rb tdiary/* misc/* plugin/*`
end

# Local Variables:
# mode: ruby
# indent-tabs-mode: t
# tab-width: 3
# ruby-indent-level: 3
# End:
# vim: ts=3

Version data entries

69 entries across 58 versions & 1 rubygems

Version Path
tdiary-5.3.0 lib/tdiary/tasks/rdoc.rake
tdiary-5.2.4 lib/tdiary/tasks/rdoc.rake
tdiary-5.2.3 lib/tdiary/tasks/rdoc.rake
tdiary-5.2.2 lib/tdiary/tasks/rdoc.rake
tdiary-5.2.1 lib/tdiary/tasks/rdoc.rake
tdiary-5.2.0 lib/tdiary/tasks/rdoc.rake
tdiary-5.1.7 lib/tdiary/tasks/rdoc.rake
tdiary-5.1.6 vendor/bundle/ruby/2.7.0/gems/tdiary-5.1.5/vendor/bundle/ruby/3.0.0/gems/tdiary-5.1.4/lib/tdiary/tasks/rdoc.rake
tdiary-5.1.6 vendor/bundle/ruby/2.7.0/gems/tdiary-5.1.5/lib/tdiary/tasks/rdoc.rake
tdiary-5.1.6 lib/tdiary/tasks/rdoc.rake
tdiary-5.1.5 vendor/bundle/ruby/3.0.0/gems/tdiary-5.1.4/lib/tdiary/tasks/rdoc.rake
tdiary-5.1.5 lib/tdiary/tasks/rdoc.rake
tdiary-5.1.4 lib/tdiary/tasks/rdoc.rake
tdiary-5.1.3 lib/tdiary/tasks/rdoc.rake
tdiary-5.1.2 vendor/bundle/ruby/2.6.0/gems/tdiary-5.0.14/lib/tdiary/tasks/rdoc.rake
tdiary-5.1.2 lib/tdiary/tasks/rdoc.rake
tdiary-5.1.1 vendor/bundle/ruby/2.6.0/gems/tdiary-5.0.14/lib/tdiary/tasks/rdoc.rake
tdiary-5.1.1 lib/tdiary/tasks/rdoc.rake
tdiary-5.1.0 lib/tdiary/tasks/rdoc.rake
tdiary-5.0.14 lib/tdiary/tasks/rdoc.rake