From 8dc2f430b982864ebcd6edd79bfbc564d23961b5 Mon Sep 17 00:00:00 2001 From: Arthur Date: Tue, 9 Sep 2014 13:58:45 -0700 Subject: [PATCH] Updating run-tests --- run-tests.sh | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/run-tests.sh b/run-tests.sh index e8650ed49..76dda3132 100755 --- a/run-tests.sh +++ b/run-tests.sh @@ -36,6 +36,24 @@ fi rm stylesheets/app.css echo "[SUCCESS] Compass Build" +# test sass-only install +cp -f bower_components/foundation/scss/foundation/_settings.scss scss/_settings.scss +bundle exec sass --load-path bower_components/foundation/scss scss/app.scss:stylesheets/app.css +rc=$? +if [ "$rc" -ne 0 ] ; then + echo "[FAILURE] Ruby Sass Build" + exit $rc +fi +rm stylesheets/app.css +sed -e 's/^\/\/ @/@/' -e 's/^\/\/ \$/\$/' scss/_settings.scss > scss/_settings.scss +bundle exec sass --load-path bower_components/foundation/scss scss/app.scss:stylesheets/app.css +rc=$? +if [ "$rc" -ne 0 ] ; then + echo "[FAILURE] Ruby Sass Build w/_settings.scss" + exit $rc +fi +rm stylesheets/app.css +echo "[SUCCESS] Ruby Sass Build" # test libsass install cd .. -- 2.47.3