X-Git-Url: https://git.r.bdr.sh/rbdr/serpentity/blobdiff_plain/eecd25c9188b5c045d89aa26d1d367dd5131d88f..74892a8fd50cdc2a1294d776dc246912de9f94d5:/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')) +});