diff options
author | Ryan Dahl <ry@tinyclouds.org> | 2010-12-01 16:35:46 -0800 |
---|---|---|
committer | Ryan Dahl <ry@tinyclouds.org> | 2010-12-01 16:42:26 -0800 |
commit | a128451004201ce0b81269bb693c2bc43cd65aa6 (patch) | |
tree | 195b274073c68687484353e891e419509cfb8540 /Makefile | |
parent | 08d8116f6b518cec8536b13659607906212324eb (diff) | |
download | nodejs-a128451004201ce0b81269bb693c2bc43cd65aa6.tar.gz nodejs-a128451004201ce0b81269bb693c2bc43cd65aa6.tar.bz2 nodejs-a128451004201ce0b81269bb693c2bc43cd65aa6.zip |
Import Google's closure_linter
Run with 'make lint'
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 8 |
1 files changed, 7 insertions, 1 deletions
@@ -130,5 +130,11 @@ bench-idle: sleep 1 ./node benchmark/idle_clients.js & +lint: + @for i in lib/*.js; do \ + PYTHONPATH=tools/closure_linter/ python tools/closure_linter/closure_linter/gjslint.py \ + --unix_mode --strict --nojsdoc $$i || exit 1; \ + done -.PHONY: bench clean docopen docclean doc dist distclean check uninstall install all program staticlib dynamiclib test test-all website-upload + +.PHONY: lint bench clean docopen docclean doc dist distclean check uninstall install all program staticlib dynamiclib test test-all website-upload |