Sha256: ab3f4474cd6b001c60b8e2916cbbebf3fd1838f626125a4a06e7b88436533c7a

Contents?: true

Size: 720 Bytes

Versions: 3

Compression:

Stored size: 720 Bytes

Contents

#!/bin/sh

# README
# This will generate a bourbon directory and convert all .css.scss to .scss extensions.
# The bourbon 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/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";
done

echo Done.

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
bourbon-0.1.3 generate-bourbon.sh
bourbon-0.1.2 generate-bourbon.sh
bourbon-0.1.1 generate-bourbon.sh