mirror of
https://github.com/samuelclay/NewsBlur.git
synced 2025-08-05 16:58:59 +00:00
7 lines
No EOL
284 B
Makefile
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)
|