use inline bash instead

pull/165/head
Rob Loranger 5 years ago
parent 43849d95d3
commit cb78fd227e
No known key found for this signature in database
GPG Key ID: D6F1633A4F0903B8
  1. 4
      less/Makefile

@ -1,9 +1,7 @@
CSSDIR=../static/css/ CSSDIR=../static/css/
all : all :
ifeq (,$(shell command -v lessc 2> /dev/null)) @command -v lessc >/dev/null 2>&1 || { echo >&2 "less is not installed, please run install-less.sh."; exit 1; }
$(error "less is not installed, please run install-less.sh")
endif
lessc app.less --clean-css="--s1 --advanced" $(CSSDIR)write.css lessc app.less --clean-css="--s1 --advanced" $(CSSDIR)write.css
lessc fonts.less --clean-css="--s1 --advanced" $(CSSDIR)fonts.css lessc fonts.less --clean-css="--s1 --advanced" $(CSSDIR)fonts.css
lessc icons.less --clean-css="--s1 --advanced" $(CSSDIR)icons.css lessc icons.less --clean-css="--s1 --advanced" $(CSSDIR)icons.css

Loading…
Cancel
Save