mirror of
https://github.com/writefreely/writefreely
synced 2024-11-28 19:40:17 +00:00
fix check for missing less
This commit is contained in:
parent
0066fecc20
commit
d129894ba7
1 changed files with 5 additions and 7 deletions
|
@ -1,15 +1,13 @@
|
|||
LESSC=$(shell command -v lessc 2> /dev/null)
|
||||
|
||||
ifndef LESSC
|
||||
$(error "less is not installed, please run install-less.sh")
|
||||
ifeq (,$(shell command -v lessc 2> /dev/null))
|
||||
$(error "less is not installed, please run install-less.sh")
|
||||
endif
|
||||
|
||||
CSSDIR=../static/css/
|
||||
|
||||
all :
|
||||
$(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 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
|
||||
|
||||
install :
|
||||
./install-less.sh
|
||||
|
|
Loading…
Reference in a new issue