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.5.15 lib/tasks/cleanup.rake
workarea-core-3.4.36 lib/tasks/cleanup.rake
workarea-core-3.5.14 lib/tasks/cleanup.rake
workarea-core-3.4.35 lib/tasks/cleanup.rake
workarea-core-3.5.13 lib/tasks/cleanup.rake
workarea-core-3.4.34 lib/tasks/cleanup.rake
workarea-core-3.5.12 lib/tasks/cleanup.rake
workarea-core-3.4.33 lib/tasks/cleanup.rake
workarea-core-3.5.11 lib/tasks/cleanup.rake
workarea-core-3.5.10 lib/tasks/cleanup.rake
workarea-core-3.4.32 lib/tasks/cleanup.rake
workarea-core-3.5.9 lib/tasks/cleanup.rake
workarea-core-3.4.31 lib/tasks/cleanup.rake
workarea-core-3.5.8 lib/tasks/cleanup.rake
workarea-core-3.4.30 lib/tasks/cleanup.rake
workarea-core-3.5.7 lib/tasks/cleanup.rake
workarea-core-3.4.29 lib/tasks/cleanup.rake
workarea-core-3.5.6 lib/tasks/cleanup.rake
workarea-core-3.4.28 lib/tasks/cleanup.rake
workarea-core-3.5.5 lib/tasks/cleanup.rake