Sha256: 2d6779725f019b4dc824f0b145d7880aef13a6684c625104d43459909095ac1e

Contents?: true

Size: 220 Bytes

Versions: 1

Compression:

Stored size: 220 Bytes

Contents

require 'fileutils'

CLEAN = ['**/*.o', '**/*.bak']

def clean
  fu = ARGV.include?('--dryrun') ? FileUtils::DryRun : FileUtils
  CLEAN.each do |glob|
    Dir[glob].each do |path|
      fu.rm_rf(path)
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
reap-9.4.0 task/clean