Update linting task to include harness sources

This commit is contained in:
Dan Quirk
2015-07-14 17:01:10 -07:00
parent 53308fe07f
commit fcf872f52e
+3 -2
View File
@@ -730,8 +730,9 @@ task("update-sublime", ["local", serverFile], function() {
// run this task automatically
desc("Runs tslint on the compiler sources");
task("lint", [], function() {
for(var i in compilerSources) {
var f = compilerSources[i];
var lintTagets = compilerSources.concat(harnessSources);
for(var i in lintTagets) {
var f = lintTagets[i];
var cmd = 'tslint -f ' + f;
exec(cmd,
function() { console.log('SUCCESS: No linter errors'); },