]> git.ipfire.org Git - thirdparty/foundation/foundation-sites.git/commitdiff
Updating run-tests
authorArthur <arthur@zurb.com>
Tue, 9 Sep 2014 20:58:45 +0000 (13:58 -0700)
committerArthur <arthur@zurb.com>
Tue, 9 Sep 2014 20:58:45 +0000 (13:58 -0700)
run-tests.sh

index e8650ed492a9f5665af89ec446615a2e5bd635c1..76dda3132179e383ef0624e6fe6fe41e577bcf51 100755 (executable)
@@ -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 ..