Simple lektor sass plugin
- Using python's libsass to compile the final CSS Closes #4
This commit is contained in:
parent
6ceae7c22c
commit
cba44a38fc
11 changed files with 216 additions and 5519 deletions
12
Makefile
12
Makefile
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue