Explorar el Código

Also add the filename in the build.js build

OpenShift guest hace 11 años
padre
commit
309ea37878
Se han modificado 1 ficheros con 6 adiciones y 0 borrados
  1. 6 0
      utils/build/build.js

+ 6 - 0
utils/build/build.js

@@ -47,8 +47,14 @@ function main() {
 		for ( var j = 0; j < files.length; j ++ ){
 		for ( var j = 0; j < files.length; j ++ ){
 
 
 			var file = '../../' + files[ j ];
 			var file = '../../' + files[ j ];
+			
 			sources.push( file );
 			sources.push( file );
+			buffer.push('// You shouldn\'t edit this build file. \n');
+			buffer.push('// The following source code should be edited in \n');
+			buffer.push('// ' + files[ j ]);
+			buffer.push('\n\n');
 			buffer.push( fs.readFileSync( file, 'utf8' ) );
 			buffer.push( fs.readFileSync( file, 'utf8' ) );
+			buffer.push('\n');
 
 
 		}
 		}
 
 

粤ICP备19079148号