1
0
mirror of https://github.com/writeas/writefreely synced 2024-12-11 16:18:07 +01:00
writefreely/less/Makefile
Matt Baer d277e283d5 Move ProseMirror styles to less dir
This keeps it consistent with all our other CSS.
2020-03-11 11:55:55 -04:00

18 lines
534 B
Makefile

CSSDIR=../static/css/
all :
@command -v lessc >/dev/null 2>&1 || { echo >&2 "lessc is not installed, please run: make install or: less/install-less.sh"; exit 1; }
lessc app.less --clean-css="--s1 --advanced" $(CSSDIR)write.css
lessc fonts.less --clean-css="--s1 --advanced" $(CSSDIR)fonts.css
lessc icons.less --clean-css="--s1 --advanced" $(CSSDIR)icons.css
lessc prose.less --clean-css="--s1 --advanced" $(CSSDIR)prose.css
install :
./install-less.sh
$(MAKE) all
clean :
rm -f write.css
rm -f fonts.css
rm -f icons.css