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.27 lib/tasks/cleanup.rake
workarea-core-3.5.26 lib/tasks/cleanup.rake
workarea-core-3.4.45 lib/tasks/cleanup.rake
workarea-core-3.5.25 lib/tasks/cleanup.rake
workarea-core-3.5.23 lib/tasks/cleanup.rake
workarea-core-3.4.44 lib/tasks/cleanup.rake
workarea-core-3.5.22 lib/tasks/cleanup.rake
workarea-core-3.4.43 lib/tasks/cleanup.rake
workarea-core-3.5.21 lib/tasks/cleanup.rake
workarea-core-3.4.42 lib/tasks/cleanup.rake
workarea-core-3.5.20 lib/tasks/cleanup.rake
workarea-core-3.4.41 lib/tasks/cleanup.rake
workarea-core-3.5.19 lib/tasks/cleanup.rake
workarea-core-3.4.40 lib/tasks/cleanup.rake
workarea-core-3.5.18 lib/tasks/cleanup.rake
workarea-core-3.4.39 lib/tasks/cleanup.rake
workarea-core-3.5.17 lib/tasks/cleanup.rake
workarea-core-3.4.38 lib/tasks/cleanup.rake
workarea-core-3.5.16 lib/tasks/cleanup.rake
workarea-core-3.4.37 lib/tasks/cleanup.rake