Browse Source

Improved bash fu.

pull/178/head
Simon Eisenmann 10 years ago
parent
commit
3da4f79470
  1. 4
      src/styles/Makefile.am

4
src/styles/Makefile.am

@ -46,6 +46,4 @@ styleshint:
styleslint: styleslint:
@if [ "$(SCSS_LINT)" = "" ]; then echo "Command 'scss-lint' not found, required when linting styles"; exit 1; fi @if [ "$(SCSS_LINT)" = "" ]; then echo "Command 'scss-lint' not found, required when linting styles"; exit 1; fi
@echo "Please be patient, this takes a while..." $(FIND) ./ -not -path "./libs/*" -name "*.scss" -print0 | xargs -0 -n1 $(SCSS_LINT) -c scss.yml
@files=`find . -not -path "*/libs/*" -name "*.scss"|sort -u`; \
for f in $$files; do $(SCSS_LINT) -c scss.yml $$f; done

Loading…
Cancel
Save