]> git.r.bdr.sh - rbdr/serpentity/blame_incremental - gulpfile.js
Fixes entity systems
[rbdr/serpentity] / gulpfile.js
... / ...
CommitLineData
1var gulp = require('gulp');
2var uglify = require('gulp-uglify');
3var concat = require('gulp-concat');
4
5gulp.task('build', function() {
6 gulp.src([
7 'lib/serpentity/serpentity.js',
8 'lib/serpentity/entity.js',
9 'lib/serpentity/node.js',
10 'lib/serpentity/node_collection.js',
11 'lib/serpentity/component.js',
12 'lib/serpentity/system.js',
13 ])
14 .pipe(uglify())
15 .pipe(concat('serpentity.js'))
16 .pipe(gulp.dest('dist'))
17});