Sha256: 47d45ba225c867ef833a926b91f3183337ab6ed0d0f17abcbb5303feee1d9790
Contents?: true
Size: 492 Bytes
Versions: 9
Compression:
Stored size: 492 Bytes
Contents
# Needed for pre-3.1. namespace :wiskey do desc "Move files to the Rails assets directory." task :install do source_root = File.expand_path(File.join(File.dirname(__FILE__), '..', '..')) `mkdir -p #{Rails.root}/public/stylesheets/sass/wiskey` `cp -a #{source_root}/app/assets/stylesheets/* #{Rails.root}/public/stylesheets/sass/wiskey` `find #{Rails.root}/public/stylesheets/sass/wiskey -name "*.css.scss" | while read i; do mv "$i" "${i%.css.scss}.scss"; done` end end
Version data entries
9 entries across 9 versions & 1 rubygems