Use crlf check for LINT_FILES and SRC_FILES.
This commit is contained in:
parent
2ffd3ae1c7
commit
288705dab4
6
make.js
6
make.js
@ -219,8 +219,7 @@ target.bundle = function() {
|
|||||||
bundleVersion = exec('git log --format="%h" -n 1',
|
bundleVersion = exec('git log --format="%h" -n 1',
|
||||||
{silent: true}).output.replace('\n', '');
|
{silent: true}).output.replace('\n', '');
|
||||||
|
|
||||||
// Handle only src/*.js for now.
|
crlfchecker.checkIfCrlfIsPresent(SRC_FILES);
|
||||||
crlfchecker.checkIfCrlfIsPresent(['*.js']);
|
|
||||||
|
|
||||||
// This just preprocesses the empty pdf.js file, we don't actually want to
|
// This just preprocesses the empty pdf.js file, we don't actually want to
|
||||||
// preprocess everything yet since other build targets use this file.
|
// preprocess everything yet since other build targets use this file.
|
||||||
@ -685,8 +684,7 @@ target.lint = function() {
|
|||||||
|
|
||||||
exec('gjslint --nojsdoc ' + LINT_FILES.join(' '));
|
exec('gjslint --nojsdoc ' + LINT_FILES.join(' '));
|
||||||
|
|
||||||
// Handle only src/*.js for now.
|
crlfchecker.checkIfCrlfIsPresent(LINT_FILES);
|
||||||
crlfchecker.checkIfCrlfIsPresent(['src/*.js']);
|
|
||||||
};
|
};
|
||||||
|
|
||||||
//
|
//
|
||||||
|
Loading…
Reference in New Issue
Block a user