瀏覽代碼

test again Arf....

sebavan 6 年之前
父節點
當前提交
132759418b
共有 3 個文件被更改,包括 4 次插入61 次删除
  1. 4 3
      Tools/Gulp/tasks/gulpTasks-libraries.js
  2. 0 1
      package.json
  3. 0 57
      src/Shaders/ShadersInclude/index.ts

+ 4 - 3
Tools/Gulp/tasks/gulpTasks-libraries.js

@@ -4,7 +4,7 @@ var webpack = require('webpack');
 var webpackStream = require("webpack-stream");
 var cp = require('child_process');
 var path = require("path");
-var append = require('gulp-append');
+var concat = require('gulp-concat');
 
 // Gulp Helpers
 var uncommentShaders = require('../helpers/gulp-removeShaderComments');
@@ -107,8 +107,9 @@ var buildAMDDTSFiles = function(libraries, settings, cb) {
  */
 var appendLoseDTSFiles = function(settings) {
     if (settings.build.loseDTSFiles) {
-        return gulp.src([path.join(settings.computed.srcDirectory, settings.build.loseDTSFiles)])
-            .pipe(append(tempTypingsFile));
+        return gulp.src([tempTypingsFile, path.join(settings.computed.srcDirectory, settings.build.loseDTSFiles)])
+            .pipe(concat("toto.txt"))
+            .pipe(gulp.dest(config.computed.tempFolder));
     }
     return Promise.resolve();
 }

+ 0 - 1
package.json

@@ -60,7 +60,6 @@
         "file-loader": "~2.0.0",
         "fs-extra": "^5.0.0",
         "gulp": "^4.0.0",
-        "gulp-append": "^0.3.4",
         "gulp-concat": "~2.6.1",
         "gulp-connect": "^5.6.1",
         "gulp-filter": "^5.1.0",

+ 0 - 57
src/Shaders/ShadersInclude/index.ts

@@ -1,57 +0,0 @@
-export * from "./backgroundFragmentDeclaration";
-export * from "./backgroundUboDeclaration";
-export * from "./backgroundVertexDeclaration";
-export * from "./bones300Declaration";
-export * from "./bonesDeclaration";
-export * from "./bonesVertex";
-export * from "./bumpFragment";
-export * from "./bumpFragmentFunctions";
-export * from "./bumpVertex";
-export * from "./bumpVertexDeclaration";
-export * from "./clipPlaneFragment";
-export * from "./clipPlaneFragmentDeclaration";
-export * from "./clipPlaneFragmentDeclaration2";
-export * from "./clipPlaneVertex";
-export * from "./clipPlaneVertexDeclaration";
-export * from "./clipPlaneVertexDeclaration2";
-export * from "./defaultFragmentDeclaration";
-export * from "./defaultUboDeclaration";
-export * from "./defaultVertexDeclaration";
-export * from "./depthPrePass";
-export * from "./fogFragment";
-export * from "./fogFragmentDeclaration";
-export * from "./fogVertex";
-export * from "./fogVertexDeclaration";
-export * from "./fresnelFunction";
-export * from "./harmonicsFunctions";
-export * from "./helperFunctions";
-export * from "./imageProcessingDeclaration";
-export * from "./imageProcessingFunctions";
-export * from "./instances300Declaration";
-export * from "./instancesDeclaration";
-export * from "./instancesVertex";
-export * from "./kernelBlurFragment";
-export * from "./kernelBlurFragment2";
-export * from "./kernelBlurVaryingDeclaration";
-export * from "./kernelBlurVertex";
-export * from "./lightFragment";
-export * from "./lightFragmentDeclaration";
-export * from "./lightsFragmentFunctions";
-export * from "./lightUboDeclaration";
-export * from "./logDepthDeclaration";
-export * from "./logDepthFragment";
-export * from "./logDepthVertex";
-export * from "./morphTargetsVertex";
-export * from "./morphTargetsVertexDeclaration";
-export * from "./morphTargetsVertexGlobalDeclaration";
-export * from "./mrtFragmentDeclaration";
-export * from "./pbrFragmentDeclaration";
-export * from "./pbrFunctions";
-export * from "./pbrLightFunctions";
-export * from "./pbrUboDeclaration";
-export * from "./pbrVertexDeclaration";
-export * from "./pointCloudVertex";
-export * from "./pointCloudVertexDeclaration";
-export * from "./reflectionFunction";
-export * from "./shadowsFragmentFunctions";
-export * from "./shadowsVertex";