mirror of
https://github.com/c0de-archive/pelican-mg.git
synced 2024-10-31 23:07:47 +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'
|
|
|
|
|