Преглед изворни кода

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 година
родитељ
комит
4557b577d9
1 измењених фајлова са 2 додато и 1 уклоњено
  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());
         }