From 288705dab453ecce157d3f6c504580d7fff48e14 Mon Sep 17 00:00:00 2001 From: Kalervo Kujala Date: Wed, 22 Aug 2012 12:22:58 +0300 Subject: [PATCH] Use crlf check for LINT_FILES and SRC_FILES. --- make.js | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/make.js b/make.js index 3ff04dedf..997a7e8f7 100755 --- a/make.js +++ b/make.js @@ -219,8 +219,7 @@ target.bundle = function() { bundleVersion = exec('git log --format="%h" -n 1', {silent: true}).output.replace('\n', ''); - // Handle only src/*.js for now. - crlfchecker.checkIfCrlfIsPresent(['*.js']); + crlfchecker.checkIfCrlfIsPresent(SRC_FILES); // This just preprocesses the empty pdf.js file, we don't actually want to // preprocess everything yet since other build targets use this file. @@ -685,8 +684,7 @@ target.lint = function() { exec('gjslint --nojsdoc ' + LINT_FILES.join(' ')); - // Handle only src/*.js for now. - crlfchecker.checkIfCrlfIsPresent(['src/*.js']); + crlfchecker.checkIfCrlfIsPresent(LINT_FILES); }; //