Sha256: f4298535a738b8ab967304929f6b661322d180a8adbd929e17b698e8f0dc9907
Contents?: true
Size: 410 Bytes
Versions: 9
Compression:
Stored size: 410 Bytes
Contents
desc 'cleanup-directory', 'Remove unneeded files' def cleanup_directory announce 'Removing tempfiles' for pattern in %w[ webrat-* capybara-* tmp/webrat-* tmp/capybara-* tmp/rtex/* log/*.log ] note pattern puts `rm -vfR #{pattern}` end announce 'Finding recursively and removing backup files' for pattern in %w[ *~ ] note pattern `find . -name #{pattern} -exec rm {} ';'` end end
Version data entries
9 entries across 9 versions & 1 rubygems