Merge pull request #32 from dod-ccpo/sass-dependency

install sass if it is not already present
This commit is contained in:
dandds 2018-06-13 16:58:21 -04:00 committed by GitHub
commit cb51a20f72
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -12,6 +12,15 @@ pip install pipenv
# Update npm # Update npm
npm install -g 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 # Install application dependencies
script/bootstrap script/bootstrap