Browse Source

file globbing did not work as expected to lint the editor files. Updated to lint d.ts and editor files in separate steps

Shaddock Heath 10 years ago
parent
commit
4557b577d9
1 changed files with 2 additions and 1 deletions
  1. 2 1
      Build/Scripts/BuildCommon.js

+ 2 - 1
Build/Scripts/BuildCommon.js

@@ -37,7 +37,8 @@ namespace('build', function() {
           // compile
           cmds.push(node + " ./Build/node_modules/typeScript/bin/tsc -p ./Script");
           // lint
-          cmds.push(node + " ./Build/node_modules/tslint/bin/tslint -c ./Script/tslint.json ./Script/**/*.ts");
+          cmds.push(node + " ./Build/node_modules/tslint/bin/tslint -c ./Script/tslint.json ./Script/TypeScript/*.ts");
+          cmds.push(node + " ./Build/node_modules/tslint/bin/tslint -c ./Script/tslint.json ./Script/AtomicEditor/**/*.ts");
         } else {
             throw new Error("Node not configured for this platform: " + os.platform());
         }