X-Git-Url: https://git.r.bdr.sh/rbdr/serpentity/blobdiff_plain/d071276e2426c4180e44debe8b92ad16cbbc414f..b3b840f89948d96aa28760fc5cf41c384488f6a6:/gulpfile.js diff --git a/gulpfile.js b/gulpfile.js deleted file mode 100644 index dcb689b..0000000 --- a/gulpfile.js +++ /dev/null @@ -1,28 +0,0 @@ -'use strict'; - -const Gulp = require('gulp'); -const Babel = require('gulp-babel'); -const Concat = require('gulp-concat'); -const Rename = require('gulp-rename'); -const Uglify = require('gulp-uglify'); - -Gulp.task('build', function() { - Gulp.src([ - 'lib/serpentity.js', - 'lib/serpentity/entity.js', - 'lib/serpentity/node.js', - 'lib/serpentity/node_collection.js', - 'lib/serpentity/component.js', - 'lib/serpentity/system.js' - ]) - .pipe(Babel({ - presets: ['es2015'] - })) - .pipe(Concat('serpentity.js')) - .pipe(Gulp.dest('dist')) - .pipe(Uglify()) - .pipe(Rename({ - suffix: '.min' - })) - .pipe(Gulp.dest('dist')); -});