Permalink
Browse files

update the copy files rake task to pull the static file and sass file…

…s from their correct locations
  • Loading branch information...
1 parent ffe874e commit 99578c6355d544d81fd5642c7957c582d2437df2 @mjankowski mjankowski committed Sep 8, 2011
Showing with 7 additions and 4 deletions.
  1. +3 −3 README.md
  2. +4 −1 lib/tasks/flutie.rake
View
@@ -78,10 +78,10 @@ Please see CONTRIBUTING.md for details.
Development
-----------
-The actual stylesheet source files are sass, so edit the files in app/assets/stylesheets/sass/flutie.
-To rebuild the normal scss run:
+The actual stylesheet source files are sass, so edit the files in app/assets/stylesheets/.
+To rebuild the static flutie.css file, you can run:
- sass -C --update app/assets/stylesheets/sass/flutie:app/assets/stylesheets
+ sass --update app/assets/stylesheets/flutie.scss:public/stylesheets/flutie.css
You can run a server which will allow you to view the flutie styleguide locally:
View
@@ -16,7 +16,10 @@ namespace :flutie do
puts "Flutie stylesheets are provided via asset pipelining."
else
# Copy the flutie stylesheets into rails_root/public/flutie
- copy_files("../../app/assets/stylesheets", "/public/flutie", directory)
+ copy_files("../../public/stylesheets", "/public/flutie", directory)
+
+ # Copy the flutie sass stylesheets into rails_root/public/sass/flutie
+ copy_files("../../app/assets/stylesheets", "/public/sass/flutie", directory)
end
end
end

0 comments on commit 99578c6

Please sign in to comment.