]> git.r.bdr.sh - rbdr/serpentity/blob - gulpfile.js
f1fb5e6ad743b7bd5146b2580231dc2f7a8705ee
[rbdr/serpentity] / gulpfile.js
1 var gulp = require('gulp');
2 var uglify = require('gulp-uglify');
3 var concat = require('gulp-concat');
4
5 gulp.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 });