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.27 lib/tasks/cleanup.rake
workarea-core-3.5.4 lib/tasks/cleanup.rake
workarea-core-3.4.26 lib/tasks/cleanup.rake
workarea-core-3.5.3 lib/tasks/cleanup.rake
workarea-core-3.4.25 lib/tasks/cleanup.rake
workarea-core-3.5.2 lib/tasks/cleanup.rake
workarea-core-3.4.24 lib/tasks/cleanup.rake
workarea-core-3.5.1 lib/tasks/cleanup.rake
workarea-core-3.4.23 lib/tasks/cleanup.rake
workarea-core-3.4.22 lib/tasks/cleanup.rake
workarea-core-3.5.0 lib/tasks/cleanup.rake
workarea-core-3.4.21 lib/tasks/cleanup.rake
workarea-core-3.5.0.beta.1 lib/tasks/cleanup.rake
workarea-core-3.4.20 lib/tasks/cleanup.rake
workarea-core-3.4.19 lib/tasks/cleanup.rake
workarea-core-3.4.18 lib/tasks/cleanup.rake
workarea-core-3.4.17 lib/tasks/cleanup.rake
workarea-core-3.4.16 lib/tasks/cleanup.rake
workarea-core-3.4.15 lib/tasks/cleanup.rake
workarea-core-3.4.14 lib/tasks/cleanup.rake