Commit f0cb67f5 by Eric Fischer

Use libsass

parent 7cbce617
......@@ -35,7 +35,7 @@ javascript:
sass:
./scripts/sass.sh
python scripts/compile_sass.py
install-test:
......@@ -45,7 +45,6 @@ install-sys-requirements: install-system install-node
npm config set loglevel warn
install-dev:
gem install sass
pip install -q -r requirements/dev.txt
install: install-wheels install-python install-js install-nltk-data install-test install-dev javascript sass
......
......@@ -19,6 +19,7 @@ djangorestframework>=3.1,<3.3
dogapi==1.2.1
jsonfield==1.0.3
lazy==1.1
libsass==0.10.0
loremipsum==1.0.5
python-dateutil==2.1
python-memcached==1.48
......
import sass
BASE_DIR = 'openassessment/xblock/static/'
sass.compile(
dirname=(BASE_DIR+'sass', BASE_DIR+'css'),
include_paths=[BASE_DIR+'sass/vendor/bi-app'],
output_style='compressed',
)
#!/usr/bin/env bash
cd `dirname $BASH_SOURCE` && cd ../openassessment/xblock/static
sass --update sass:css --force --style compressed -I ./sass/vendor/bi-app
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment