Sha256: ca672e3654e82d49c71c3aa93250510aa77016fb6b630a91fdfe4a6f0fa5f584

Contents?: true

Size: 473 Bytes

Versions: 11

Compression:

Stored size: 473 Bytes

Contents

namespace :card do
  namespace :assets do
    desc "regenerate asset outputs"
    task refresh: :environment do
      Card::Assets.refresh force: true
    end

    desc "update coded asset outputs"
    task code: :environment do
      Cardio.config.compress_assets = true
      Card::Cache.reset_all
      Card::Assets.make_output_coded
    end

    desc "delete all cached asset outputs and inputs"
    task wipe: :environment do
      Card::Assets.wipe
    end
  end
end

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
card-mod-assets-0.18.1 lib/tasks/card/assets.rake
card-mod-assets-0.18.0 lib/tasks/card/assets.rake
card-mod-assets-0.17.0 lib/tasks/card/assets.rake
card-mod-assets-0.16.0 lib/tasks/card/assets.rake
card-mod-assets-0.15.6 lib/tasks/card/assets.rake
card-mod-assets-0.15.5 lib/tasks/card/assets.rake
card-mod-assets-0.15.4 lib/tasks/card/assets.rake
card-mod-assets-0.15.3 lib/tasks/card/assets.rake
card-mod-assets-0.15.2.pre1 lib/tasks/card/assets.rake
card-mod-assets-0.15.1.1 lib/tasks/card/assets.rake
card-mod-assets-0.15.1 lib/tasks/card/assets.rake