Sha256: 15edd3ac5ad7b76d0086a7890e524fc680c6d0758a4afa631bdf406377d58ecd

Contents?: true

Size: 375 Bytes

Versions: 8

Compression:

Stored size: 375 Bytes

Contents

require_relative 'config/boot'
require_relative 'my_app'

namespace :assets do
  desc "Precompile assets"
  task :precompile do
    manifest = ::Sprockets::Manifest.new(MyApp.assets.index, "#{MyApp.public_folder}/assets")
    manifest.compile(MyApp.assets_manifest)
  end

  desc "Clean assets"
  task :clean do
    FileUtils.rm_rf("#{MyApp.public_folder}/assets")
  end
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
sinator-4.0.0 spec/fixtures/without_db/rakefile.txt
sinator-3.1.1 spec/fixtures/without_db/rakefile.txt
sinator-3.1.0 spec/fixtures/without_db/rakefile.txt
sinator-3.0.4 spec/fixtures/without_db/rakefile.txt
sinator-3.0.3 spec/fixtures/without_db/rakefile.txt
sinator-3.0.2 spec/fixtures/without_db/rakefile.txt
sinator-3.0.1 spec/fixtures/without_db/rakefile.txt
sinator-3.0.0 spec/fixtures/without_db/rakefile.txt