Browse files

Updated bash script. Updated readme. Updated sass_entensions

  • Loading branch information...
1 parent 67db341 commit a5efc3cfac19e9385ea9c286fb836de2239edf94 Phil LaPier committed Jul 15, 2011
Showing with 13 additions and 5 deletions.
  1. +6 −1
  2. +1 −3 lib/bourbon/sass_extensions/functions.rb
  3. +6 −1
@@ -10,14 +10,19 @@
# ./
echo Creating directory...
-mkdir -p $PWD/bourbon
+mkdir -p $PWD/bourbon/lib
echo Copying files...
cp -a $PWD/app/assets/stylesheets/* $PWD/bourbon
+cp -a $PWD/lib/* $PWD/bourbon/lib
+rm -r $PWD/bourbon/lib/tasks
+rm -r $PWD/bourbon/lib/bourbon/engine.rb
+rm -r $PWD/bourbon/lib/bourbon/version.rb
echo Renaming files...
find $PWD/bourbon -name "*.css.scss" | while read i;
do mv "$i" "${i%.css.scss}.scss";
echo Done.
@@ -1,9 +1,7 @@
module Bourbon::SassExtensions::Functions
-%w(compact).each do |func|
- require "bourbon/sass_extensions/functions/#{func}"
+require "bourbon/sass_extensions/functions/compact"
module Sass::Script::Functions
include Bourbon::SassExtensions::Functions::Compact
@@ -46,7 +46,12 @@ Preliminary step: clone the repo and cd into the directory.
-**Step 3:** Move the new *borubon* directory to your project's stylesheets directory.
+**Step 3:** Move the new *bourbon* directory into your project's sass directory. *e.g. stylesheets/sass/*
+**Step 4:** Bourbon requires an additional sass extension to output properly. You must watch your sass files with the following flag appended: *-r ./bourbon/lib/bourbon.rb*
+ # Example (project root directory)
+ sass --watch stylesheets/sass:stylesheets -r ./stylesheets/sass/bourbon/lib/bourbon.rb
#Using Bourbon Vanilla Mixins

0 comments on commit a5efc3c

Please sign in to comment.