From 74892a8fd50cdc2a1294d776dc246912de9f94d5 Mon Sep 17 00:00:00 2001 From: Ben Beltran Date: Mon, 11 Aug 2014 21:03:24 -0500 Subject: Prepare bower with a concatenated file. --- gulpfile.js | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 gulpfile.js (limited to 'gulpfile.js') 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')) +}); -- cgit