[Pkg-javascript-commits] [pdf.js] 53/139: Update |node make lint| to also cover the Firefox specific *.jsm files
David Prévot
taffit at moszumanska.debian.org
Fri Jan 9 21:18:26 UTC 2015
This is an automated email from the git hooks/post-receive script.
taffit pushed a commit to branch master
in repository pdf.js.
commit 7f67d7633990ab2f57f05ffd8888e66b99c9558c
Author: Jonas Jenwald <jonas.jenwald at gmail.com>
Date: Tue Aug 26 16:34:03 2014 +0200
Update |node make lint| to also cover the Firefox specific *.jsm files
---
make.js | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/make.js b/make.js
index 3a4456f..5e1adcd 100644
--- a/make.js
+++ b/make.js
@@ -1460,8 +1460,10 @@ target.lint = function() {
echo('jshint is not installed -- installing...');
exec('npm install jshint at 2.4.x'); // TODO read version from package.json
}
+ // Lint the Firefox specific *.jsm files.
+ var options = '--extra-ext .jsm';
- var exitCode = exec('"' + jshintPath + '" .').code;
+ var exitCode = exec('"' + jshintPath + '" ' + options + ' .').code;
if (exitCode === 0) {
echo('files checked, no errors found');
}
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-javascript/pdf.js.git
More information about the Pkg-javascript-commits
mailing list