Permalink
Browse files

Added to rake task to rename all .css.scss to .scss

  • Loading branch information...
1 parent bacdaf5 commit 6420fd547e6a413f6658b5fa6b03e5feee7c8c7e Phil LaPier committed Jul 3, 2011
Showing with 1 addition and 0 deletions.
  1. +1 −0 lib/tasks/install.rake
@@ -5,5 +5,6 @@ namespace :bourbon do
source_root = File.expand_path(File.join(File.dirname(__FILE__), '..', '..'))
`mkdir -p #{Rails.root}/public/stylesheets/sass/bourbon`
`cp -a #{source_root}/app/assets/stylesheets/* #{Rails.root}/public/stylesheets/sass/bourbon`
+ `find #{Rails.root}/public/stylesheets/sass/bourbon -name "*.css.scss" | while read i; do mv "$i" "${i%.css.scss}.scss"; done`
end
end

0 comments on commit 6420fd5

Please sign in to comment.