Просмотр исходного кода

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 лет назад
Родитель
Сommit
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());
         }