From e8b2787e047f81eb164d84097d6611d3d9541453 Mon Sep 17 00:00:00 2001 From: dandds Date: Wed, 13 Jun 2018 09:53:48 -0400 Subject: [PATCH] install sass if it is not already present --- script/setup | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/script/setup b/script/setup index 5bf9e1eb..3ce4e8f0 100755 --- a/script/setup +++ b/script/setup @@ -12,6 +12,15 @@ pip install pipenv # Update npm npm install -g npm +if ! type sass > /dev/null; then + if type gem > /dev/null; then + echo 'installing a sass compiler...' + gem install sass + else + echo 'Could not install a sass compiler. Please install a version of sass.' + fi +fi + # Install application dependencies script/bootstrap