Sha256: 8301f044e5f3068cb157f6b35e0f1b2c641ed8267cdfd013cf0386b4a7753e97

Contents?: true

Size: 338 Bytes

Versions: 4

Compression:

Stored size: 338 Bytes

Contents

namespace :jrails do
  desc 'Remove the prototype / script.aculo.us javascript files'
  task :scrub_default_js do
    files = %W[controls.js dragdrop.js effects.js prototype.js]
    project_dir = File.join(RAILS_ROOT, 'public', 'javascripts')
    files.each do |fname|
      FileUtils.rm File.join(project_dir, fname)
    end
  end
end
  

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
compass-jquery-plugin-0.3.0.beta.5 gem_tasks/jrails.rake
compass-jquery-plugin-0.3.0.beta.4 gem_tasks/jrails.rake
compass-jquery-plugin-0.3.0.beta.2 gem_tasks/jrails.rake
compass-jquery-plugin-0.3.0.beta.1 gem_tasks/jrails.rake