From: Shigeki Ohtsu Date: Fri, 16 Jan 2015 05:41:28 +0000 (+0900) Subject: build: add tools/gflags to PYTHONPATH X-Git-Tag: v1.0.3~31 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=3fde64937a3a0c8ed941ee97b07e1828b392a672;p=platform%2Fupstream%2Fnodejs.git build: add tools/gflags to PYTHONPATH closure_linter needs the gflags module. PR-URL: https://github.com/iojs/io.js/pull/464 Reviewed-By: Ben Noordhuis --- diff --git a/Makefile b/Makefile index 1cfe452..d2f3b18 100644 --- a/Makefile +++ b/Makefile @@ -404,10 +404,10 @@ bench-idle: ./$(NODE_EXE) benchmark/idle_clients.js & jslintfix: - PYTHONPATH=tools/closure_linter/ $(PYTHON) tools/closure_linter/closure_linter/fixjsstyle.py --strict --nojsdoc -r lib/ -r src/ --exclude_files lib/punycode.js + PYTHONPATH=tools/closure_linter/:tools/gflags/ $(PYTHON) tools/closure_linter/closure_linter/fixjsstyle.py --strict --nojsdoc -r lib/ -r src/ --exclude_files lib/punycode.js jslint: - PYTHONPATH=tools/closure_linter/ $(PYTHON) tools/closure_linter/closure_linter/gjslint.py --unix_mode --strict --nojsdoc -r lib/ -r src/ --exclude_files lib/punycode.js + PYTHONPATH=tools/closure_linter/:tools/gflags/ $(PYTHON) tools/closure_linter/closure_linter/gjslint.py --unix_mode --strict --nojsdoc -r lib/ -r src/ --exclude_files lib/punycode.js CPPLINT_EXCLUDE ?= CPPLINT_EXCLUDE += src/node_dtrace.cc diff --git a/vcbuild.bat b/vcbuild.bat index 8e79d5f..3ad2095 100644 --- a/vcbuild.bat +++ b/vcbuild.bat @@ -195,7 +195,7 @@ goto exit :jslint echo running jslint -set PYTHONPATH=tools/closure_linter/ +set PYTHONPATH=tools/closure_linter/;tools/gflags/ python tools/closure_linter/closure_linter/gjslint.py --unix_mode --strict --nojsdoc -r lib/ -r src/ --exclude_files lib/punycode.js goto exit