sebavan 6 年之前
父節點
當前提交
bf4b62b9ae
共有 2 個文件被更改,包括 6 次插入9 次删除
  1. 0 9
      Tools/Gulp/gulpfile.js
  2. 6 0
      Tools/Gulp/tasks/gulpTasks-libraries.js

+ 0 - 9
Tools/Gulp/gulpfile.js

@@ -17,9 +17,6 @@ require("./tasks/gulpTasks-tests");
 require("./tasks/gulpTasks-remapPaths");
 require("./tasks/gulpTasks-npmPackages");
 
-// Import Build Config
-var config = require("../Config/config.json");
-
 /**
  * Full TsLint.
  * Back Compat Only, now included in typescript-libraries-tsLint.
@@ -27,12 +24,6 @@ var config = require("../Config/config.json");
 gulp.task("tsLint", gulp.series("typescript-libraries-tsLint"));
 
 /**
- * Build the releasable files.
- * Back Compat Only, now name core as it is a lib
- */
-gulp.task("typescript", gulp.series("core"));
-
-/**
  * Validate compile the code and check the comments and style case convention through typedoc
  */
 gulp.task("typedoc-check", gulp.series("core", "gui", "loaders", "serializers", "typedoc-generate", "typedoc-validate"));

+ 6 - 0
Tools/Gulp/tasks/gulpTasks-libraries.js

@@ -172,6 +172,12 @@ config.modules.map(function(module) {
 });
 
 /**
+ * Build the releasable files.
+ * Back Compat Only, now name core as it is a lib
+ */
+gulp.task("typescript", gulp.series("core"));
+
+/**
  * Build all libs.
  */
 gulp.task("typescript-libraries", gulp.series(config.modules, config.viewerModules));