Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

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

…s from their correct locations
  • Loading branch information...
commit 99578c6355d544d81fd5642c7957c582d2437df2 1 parent ffe874e
Matt Jankowski mjankowski authored
Showing with 7 additions and 4 deletions.
  1. +3 −3 README.md
  2. +4 −1 lib/tasks/flutie.rake
6 README.md
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:
5 lib/tasks/flutie.rake
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
Please sign in to comment.
Something went wrong with that request. Please try again.