Bladeren bron

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 jaren geleden
bovenliggende
commit
4557b577d9
1 gewijzigde bestanden met toevoegingen van 2 en 1 verwijderingen
  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());
         }