]>
git.r.bdr.sh - rbdr/serpentity/blob - gulpfile.js
dcbfdc7007fb20a5e36d819d5752d1f85b7c8fed
1 var gulp
= require('gulp');
2 var uglify
= require('gulp-uglify');
3 var concat
= require('gulp-concat');
5 gulp
.task('build', function() {
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',
15 .pipe(concat('serpentity.min.js'))
16 .pipe(gulp
.dest('dist'))
19 'lib/serpentity/serpentity.js',
20 'lib/serpentity/entity.js',
21 'lib/serpentity/node.js',
22 'lib/serpentity/node_collection.js',
23 'lib/serpentity/component.js',
24 'lib/serpentity/system.js',
26 .pipe(concat('serpentity.js'))
27 .pipe(gulp
.dest('dist'))