Sha256: a4153da51ff3fc6ee1dc94729511854ad7fad5d051385dff2f862a513be9f088

Contents?: true

Size: 693 Bytes

Versions: 1

Compression:

Stored size: 693 Bytes

Contents

#!/usr/bin/env ruby

require 'reap/application'

HELP = <<-END
Usage: #{File.basename($0)} [options]

Clean scrap products. All directory paths and or file globs
listed under the clean configuration entry, can be removed via
this method. By default all files ending with "~" or .bak
are removed. To specifcy an alternate provide a list of files
and/or globs under +remove:+ sub-entry. You can also provide
an +exclude:+ sub-entry to isolate files not to be removed.
For example:

    clean:
      remove [ '**/*~', '**/*.bak', '.config' ]

Clean is run as a prerequiste to #release via #prepare.
END

if ARGV.include?('--help')
  puts HELP
else
  app = Reap::Application.new
  app.clean
end


Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
reap-9.4.0 bin/reap-clean