Sha256: 3e4deedbffc688896b0b24f670d70830c5c2a3d70903b81abc644f1cf9f70169

Contents?: true

Size: 344 Bytes

Versions: 11

Compression:

Stored size: 344 Bytes

Contents

module Sprockets
  module Rails
    class Task < Rake::SprocketsTask
      def output
        File.join(Ecrire::Theme::Engine.paths['public'].expanded.first, app.config.assets.prefix)
      end
    end
  end
end

Rake::Task['assets:environment'].clear

namespace :assets do
  task :environment do
    Ecrire::Application.initialize!
  end
end

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
ecrire-0.31.2 lib/ecrire/tasks/assets.rake
ecrire-0.31.1 lib/ecrire/tasks/assets.rake
ecrire-0.31.0 lib/ecrire/tasks/assets.rake
ecrire-0.30.3 lib/ecrire/tasks/assets.rake
ecrire-0.30.2 lib/ecrire/tasks/assets.rake
ecrire-0.30.1 lib/ecrire/tasks/assets.rake
ecrire-0.30.0 lib/ecrire/tasks/assets.rake
ecrire-0.29.0 lib/ecrire/tasks/assets.rake
ecrire-0.28.3 lib/ecrire/tasks/assets.rake
ecrire-0.28.2 lib/ecrire/tasks/assets.rake
ecrire-0.28.1 lib/ecrire/tasks/assets.rake