Dimitri Larue 90cc85029b Update gulpfile (files list) %!s(int64=11) %!d(string=hai) anos
..
.gitignore 4b41b80f1d Add Gulp for buiding babylon cross platform %!s(int64=11) %!d(string=hai) anos
gulp-shaders.js f5abb0917c Del useless params utf8 in gulp-shader %!s(int64=11) %!d(string=hai) anos
gulpfile.js 90cc85029b Update gulpfile (files list) %!s(int64=11) %!d(string=hai) anos
package.json 4b41b80f1d Add Gulp for buiding babylon cross platform %!s(int64=11) %!d(string=hai) anos
readme.md 670f8f798c Update readme.md %!s(int64=11) %!d(string=hai) anos

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