Sha256: 5e1b048286132248cf1704ab44c8155370bd806c0d1b7340fc56471b870b51ca

Contents?: true

Size: 279 Bytes

Versions: 1

Compression:

Stored size: 279 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('lib', 'assets', 'javascripts', 'webshims')
  FileUtils.cp_r(shim_root, Rails.root.join('public'))
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
webshims-rails-1.15.6.3 lib/tasks/webshims.rake