Sha256: 44a1004eab7886d1531715eeba2a1a225d5ba0f2409d487ea2b4cbd213783279

Contents?: true

Size: 336 Bytes

Versions: 62

Compression:

Stored size: 336 Bytes

Contents

namespace :workarea do
  desc 'clear out host assets, logs, caches, and tmp files'
  task cleanup: :environment do
    puts 'Cleaning up assets...'
    Rake::Task['assets:clean'].invoke

    puts 'Cleaning up logs...'
    Rake::Task['log:clear'].invoke

    puts 'Cleaning up temp files...'
    Rake::Task['tmp:clear'].invoke
  end
end

Version data entries

62 entries across 62 versions & 1 rubygems

Version Path
workarea-core-3.4.13 lib/tasks/cleanup.rake
workarea-core-3.4.12 lib/tasks/cleanup.rake