Sha256: 55988c5bbadddd7c9bf707e8f6ae92a7e949effcf55d9bc807830144f0e5431f

Contents?: true

Size: 282 Bytes

Versions: 18

Compression:

Stored size: 282 Bytes

Contents

require 'fileutils'

desc "Copy the webshims to public/webshims so dynamic features will work."
task "webshims:update_public" do
  shim_root = Webshims::Rails::Engine.root.join('vendor', 'assets', 'javascripts', 'webshims')
  FileUtils.cp_r(shim_root, Rails.root.join('public'))
end

Version data entries

18 entries across 18 versions & 1 rubygems

Version Path
webshims-rails-1.15.6.2 lib/tasks/webshims.rake
webshims-rails-1.15.6 lib/tasks/webshims.rake
webshims-rails-1.15.5 lib/tasks/webshims.rake
webshims-rails-1.15.4 lib/tasks/webshims.rake
webshims-rails-1.15.3 lib/tasks/webshims.rake
webshims-rails-1.15.2 lib/tasks/webshims.rake
webshims-rails-1.14.6 lib/tasks/webshims.rake
webshims-rails-1.14.5 lib/tasks/webshims.rake
webshims-rails-1.14.4 lib/tasks/webshims.rake
webshims-rails-1.14.3 lib/tasks/webshims.rake
webshims-rails-1.14.1 lib/tasks/webshims.rake
webshims-rails-1.13.0 lib/tasks/webshims.rake
webshims-rails-1.12.7 lib/tasks/webshims.rake
webshims-rails-1.12.5 lib/tasks/webshims.rake
webshims-rails-1.12.3 lib/tasks/webshims.rake
webshims-rails-1.12.2 lib/tasks/webshims.rake
webshims-rails-1.12.0 lib/tasks/webshims.rake
webshims-rails-1.11.6.1 lib/tasks/webshims.rake