NewsBlur/node/node_modules/ellipsize/Makefile
2019-04-13 14:44:10 -04:00

7 lines
No EOL
284 B
Makefile

GIT_MODIFIED_UPDATED = $(shell git status --porcelain | grep -E '.?[AM].+[.]js(on)?$$' | sed -e "s/^...//g")
tidy:
@./node_modules/js-beautify/js/bin/js-beautify.js -p -k -w120 -r -f $(GIT_MODIFIED_UPDATED)
lint:
@./node_modules/jshint/bin/jshint --verbose $(GIT_MODIFIED_UPDATED)