diff --git a/external/builder/builder.js b/external/builder/builder.js index d4e47fc63..4dc9f2655 100644 --- a/external/builder/builder.js +++ b/external/builder/builder.js @@ -1,3 +1,8 @@ +/* jshint node:true */ +/* globals cp, ls, test */ + +'use strict'; + require('../shelljs/make'); var fs = require('fs'), path = require('path'), @@ -30,7 +35,7 @@ function preprocess(inFilename, outFilename, defines) { var writeLine = typeof outFilename === 'function' ? outFilename : function(line) { out += line + '\n'; - } + }; function include(file) { var realPath = fs.realpathSync(inFilename); var dir = path.dirname(realPath); diff --git a/make.js b/make.js index f39291d17..2158fbf2c 100644 --- a/make.js +++ b/make.js @@ -983,7 +983,7 @@ target.jshint = function() { echo('### Linting JS files (this can take a while!)'); var LINT_FILES = ['make.js', - //'external/builder/*.js', + 'external/builder/', //'external/crlfchecker/*.js', 'src/', //'web/*.js',