forked from thoughtbot/bourbon
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added install script for use outside of rails. Updated readme
- Loading branch information
Phil LaPier
committed
Jul 4, 2011
1 parent
b716036
commit 1c0b4f7
Showing
3 changed files
with
41 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,4 @@ | ||
*swp | ||
*gem | ||
.sass-cache/ | ||
sass/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
#!/bin/sh | ||
|
||
# README | ||
# This will generate a sass directory and convert all .css.scss to .scss extensions. | ||
# The sass directory is for 'sass --watch' use outside of rails. | ||
# Step 1: Make install executable by changing permission | ||
# chmod a+x generate-sass.sh | ||
|
||
# Step 2: Generate Files | ||
# ./generate-sass.sh | ||
|
||
echo Creating directory... | ||
mkdir -p $PWD/sass | ||
|
||
echo Copying files... | ||
cp -a $PWD/app/assets/stylesheets/* $PWD/sass | ||
|
||
echo Renaming files... | ||
find $PWD/sass -name "*.css.scss" | while read i; | ||
do mv "$i" "${i%.css.scss}.scss"; | ||
done | ||
echo Done. | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters