Sha256: 16df729ada88ededc834000c61ce91cc4f199edf55db408558e9425b3951a008
Contents?: true
Size: 372 Bytes
Versions: 40
Compression:
Stored size: 372 Bytes
Contents
# delete RMagick documentation created by post-setup.rb # doc/*.rb.html # doc/ex/* (!rb) # Bug #246: Don't use chdir! require 'ftools' targets = Dir['doc/*.rb.html'] File.safe_unlink(*targets) unless targets.empty? targets = Dir['doc/ex/*'] targets.delete_if { |entry| File.directory?(entry) || %r{\.rb\z}.match(entry) } File.safe_unlink(*targets) unless targets.empty?
Version data entries
40 entries across 40 versions & 2 rubygems