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

Version Path
backlog-0.8.0 post-clean.rb
rmagick-1.10.0 post-clean.rb
rmagick-1.10.1 post-clean.rb
rmagick-1.12.0 post-clean.rb
rmagick-1.11.0 post-clean.rb
rmagick-1.13.0 post-clean.rb
rmagick-1.11.1 post-clean.rb
rmagick-1.14.0 post-clean.rb
rmagick-1.15.1 post-clean.rb
rmagick-1.14.1 post-clean.rb
rmagick-1.15.0 post-clean.rb
rmagick-1.15.10 post-clean.rb
rmagick-1.15.15 post-clean.rb
rmagick-1.15.12 post-clean.rb
rmagick-1.15.14 post-clean.rb
rmagick-1.15.11 post-clean.rb
rmagick-1.15.13 post-clean.rb
rmagick-1.15.17 post-clean.rb
rmagick-1.15.4 post-clean.rb
rmagick-1.15.3 post-clean.rb