HighContrast: Update parse-sass.sh; remove Gemfile

Make parse-sass.sh use sassc instead of the old Ruby method.
This commit is contained in:
Daniel Boles 2017-05-31 18:45:24 +01:00
parent 1cb3fc75b3
commit ae4bd65acd
2 changed files with 12 additions and 4 deletions

View File

@ -1,2 +0,0 @@
source 'https://rubygems.org'
gem "sass", "~> 3.4.0"

View File

@ -1,3 +1,13 @@
#!/bin/sh
#! /bin/bash
bundle exec sass --update --sourcemap=none .
if [ ! "$(which sassc 2> /dev/null)" ]; then
echo sassc needs to be installed to generate the css.
exit 1
fi
SASSC_OPT="-M -t compact"
echo Generating the css...
sassc $SASSC_OPT gtk-contained.scss gtk-contained.css
sassc $SASSC_OPT gtk-contained-inverse.scss gtk-contained-inverse.css