mirror of
https://github.com/microsoft/TypeScript.git
synced 2025-11-18 17:21:48 +00:00
Update linting task to include harness sources
This commit is contained in:
+3
-2
@@ -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'); },
|
||||
|
||||
Reference in New Issue
Block a user