Skip to content

Commit

Permalink
Commenting Out Libsass Test in run-tests.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
Arthur committed Sep 9, 2014
1 parent 8dc2f43 commit ecd4889
Showing 1 changed file with 29 additions and 29 deletions.
58 changes: 29 additions & 29 deletions run-tests.sh
Expand Up @@ -56,32 +56,32 @@ rm stylesheets/app.css
echo "[SUCCESS] Ruby Sass Build"

# test libsass install
cd ..
if [ -d "${FOUNDATION_LIBSASS_TEMPLATE}" ]; then
rm -rf $FOUNDATION_LIBSASS_TEMPLATE
fi
git clone git://github.com/zurb/${FOUNDATION_LIBSASS_TEMPLATE}.git
cd $FOUNDATION_LIBSASS_TEMPLATE
SUDO=''
if (( $EUID != 0 )); then
SUDO='sudo'
fi
$SUDO npm install
bower install ../../dist/assets --save
cp -f bower_components/foundation/scss/foundation/_settings.scss scss/_settings.scss
grunt sass:dist
rc=$?
if [ "$rc" -ne 0 ] ; then
echo "[FAILURE] Node Libsass Build"
exit $rc
fi
rm css/app.css
sed -e 's/^\/\/ @/@/' -e 's/^\/\/ \$/\$/' scss/_settings.scss > scss/_settings.scss
grunt sass:dist
rc=$?
if [ "$rc" -ne 0 ] ; then
echo "[FAILURE] Node Libsass Build w/_settings.scss"
exit $rc
fi
rm css/app.css
echo "[SUCCESS] Node Libsass Build"
#cd ..
#if [ -d "${FOUNDATION_LIBSASS_TEMPLATE}" ]; then
# rm -rf $FOUNDATION_LIBSASS_TEMPLATE
#fi
#git clone git://github.com/zurb/${FOUNDATION_LIBSASS_TEMPLATE}.git
#cd $FOUNDATION_LIBSASS_TEMPLATE
#SUDO=''
#if (( $EUID != 0 )); then
# SUDO='sudo'
#fi
#$SUDO npm install
#bower install ../../dist/assets --save
#cp -f bower_components/foundation/scss/foundation/_settings.scss scss/_settings.scss
#grunt sass:dist
#rc=$?
#if [ "$rc" -ne 0 ] ; then
# echo "[FAILURE] Node Libsass Build"
# exit $rc
#fi
#rm css/app.css
#sed -e 's/^\/\/ @/@/' -e 's/^\/\/ \$/\$/' scss/_settings.scss > scss/_settings.scss
#grunt sass:dist
#rc=$?
#if [ "$rc" -ne 0 ] ; then
# echo "[FAILURE] Node Libsass Build w/_settings.scss"
# exit $rc
#fi
#rm css/app.css
#echo "[SUCCESS] Node Libsass Build"

0 comments on commit ecd4889

Please sign in to comment.