Merge pull request #99 from gytisrepecka/master

Added /bin/lessc path to be compatible with CentOS 7
pull/104/head
Matt Baer 6 years ago committed by GitHub
commit 788713116f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 4
      less/Makefile

@ -2,6 +2,8 @@ ifeq ($(shell which lessc),/usr/bin/lessc)
LESSC=/usr/bin/lessc
else ifeq ($(shell which lessc),/usr/local/bin/lessc)
LESSC=/usr/local/bin/lessc
else ifeq ($(shell which lessc),/bin/lessc)
LESSC=/bin/lessc
else
LESSC=node_modules/.bin/lessc
endif
@ -14,7 +16,7 @@ all :
$(LESSC) fonts.less --clean-css="--s1 --advanced" $(CSSDIR)fonts.css
$(LESSC) icons.less --clean-css="--s1 --advanced" $(CSSDIR)icons.css
install :
install :
./install-less.sh
$(MAKE) all

Loading…
Cancel
Save