Dimitri Larue 90cc85029b Update gulpfile (files list) 11 年之前
..
.gitignore 4b41b80f1d Add Gulp for buiding babylon cross platform 11 年之前
gulp-shaders.js f5abb0917c Del useless params utf8 in gulp-shader 11 年之前
gulpfile.js 90cc85029b Update gulpfile (files list) 11 年之前
package.json 4b41b80f1d Add Gulp for buiding babylon cross platform 11 年之前
readme.md 670f8f798c Update readme.md 11 年之前

readme.md

Build Babylon.js with Gulp

Build Babylon.js with gulp and npm (nodejs), easy and cross-platform

(Paths in this file are relative to this file location.)

How to use it

First install gulp :

npm install -g gulp

Install some dependencies :

npm install

Update gulpfile if you want to add files:

return gulp.src([
      '../../Babylon/Math/babylon.math.js',
      '../../Babylon/Math/babylon.axis.js',
      
      ....

Build Babylon.js :

gulp

Will be generated :

  • build/babylon.js
  • build/babylon.min.js

Build Babylon.js when you save a file:

gulp watch