aboutsummaryrefslogtreecommitdiff
path: root/gulpfile.js
diff options
context:
space:
mode:
authorBen Beltran <ben@nsovocal.com>2014-08-11 21:03:24 -0500
committerBen Beltran <ben@nsovocal.com>2014-08-11 21:03:24 -0500
commit74892a8fd50cdc2a1294d776dc246912de9f94d5 (patch)
treee7689b97cecb6875ee91ecad43ee2567fec70bbe /gulpfile.js
parenteecd25c9188b5c045d89aa26d1d367dd5131d88f (diff)
Prepare bower with a concatenated file.
Diffstat (limited to 'gulpfile.js')
-rw-r--r--gulpfile.js17
1 files changed, 17 insertions, 0 deletions
diff --git a/gulpfile.js b/gulpfile.js
new file mode 100644
index 0000000..f1fb5e6
--- /dev/null
+++ b/gulpfile.js
@@ -0,0 +1,17 @@
+var gulp = require('gulp');
+var uglify = require('gulp-uglify');
+var concat = require('gulp-concat');
+
+gulp.task('build', function() {
+ gulp.src([
+ 'lib/serpentity/serpentity.js',
+ 'lib/serpentity/entity.js',
+ 'lib/serpentity/node.js',
+ 'lib/serpentity/node_collection.js',
+ 'lib/serpentity/component.js',
+ 'lib/serpentity/system.js',
+ ])
+ .pipe(uglify())
+ .pipe(concat('serpentity.js'))
+ .pipe(gulp.dest('dist'))
+});