Simple lektor sass plugin

- Using python's libsass to compile the final CSS
Closes #4
This commit is contained in:
Felipe M 2020-11-30 18:13:36 +01:00
parent 6ceae7c22c
commit cba44a38fc
Signed by: fmartingr
GPG key ID: 716BC147715E716F
11 changed files with 216 additions and 5519 deletions

View file

@ -2,11 +2,11 @@ setup:
pip install --user setuptools
pip install --user poetry
poetry install
npm install
clean:
rm -rf public
rm -rf assets/static/css
build:
node_modules/gulp/bin/gulp.js sass
poetry run lektor build --prune --output-path ${PWD}/public --buildstate-path ${PWD}/.lektor
watch:
node_modules/gulp/bin/gulp.js sass:watch
make clean
poetry run lektor build --output-path ${PWD}/public --buildstate-path ${PWD}/.lektor