Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

comments in Rakefile

  • Loading branch information...
commit c8ea698dfea112261d48934ed68f458dea702451 1 parent 09c24b1
@jlong authored
Showing with 5 additions and 0 deletions.
  1. +5 −0 Rakefile
View
5 Rakefile
@@ -3,7 +3,11 @@ task :styles do
root = File.dirname(__FILE__)
src = File.join(root, 'src', 'typeset.scss')
dest = File.join(root, 'typeset.css')
+
+ # Convert Scss source to CSS
sh "sass --style expanded #{src} #{dest}"
+
+ # Massage output
IO.write(dest,
IO.read(dest)
.gsub(%r{\*/\n/\*}, "*/\n\n/*")
@@ -11,4 +15,5 @@ task :styles do
)
end
+# Make default task generate CSS
task :default => :styles
Please sign in to comment.
Something went wrong with that request. Please try again.