mirror of
https://github.com/c0de-archive/pelican-mg.git
synced 2024-12-22 08:22:40 +00:00
14 lines
243 B
Makefile
14 lines
243 B
Makefile
SCSSDIR ?= scss
|
|
CSSDIR = static/css
|
|
|
|
sass:
|
|
@for i in $$(ls $(SCSSDIR)); do \
|
|
out="$(CSSDIR)/$${i%.*}.css"; \
|
|
sass "$(SCSSDIR)/$$i" "$$out"; \
|
|
sed -i '$$d' "$$out"; \
|
|
rm "$$out.map"; \
|
|
done
|
|
@echo 'SCSS files compiled'
|
|
|
|
|