var gulp = require('gulp');
var concat = require('gulp-concat');
var uglify = require('gulp-uglify');
var shell = require('gulp-shell');

gulp.task('js', function() {
	return gulp.src(['js/*.js', 'gen/*.js'])
		.pipe(concat('rapidframe.js'))
		//.pipe(concat('rapidframe.min.js'))
		//.pipe(uglify())
		.pipe(gulp.dest('.'));
});

gulp.task('watch', ['default'], function() {
	gulp.watch('js/*.js', ['js']);
	gulp.watch('gen/*.js', ['js']);
});

gulp.task('default', ['js']);


var gulp = require('gulp');
var concat = require('gulp-concat');
var uglify = require('gulp-uglify');
var shell = require('gulp-shell');

gulp.task('js', function() {
	return gulp.src(['js/*.js', 'gen/*.js'])
		//.pipe(concat('rapidframe.js'))
		.pipe(concat('rapidframe.min.js'))
		.pipe(uglify())
		.pipe(gulp.dest('.'));
});

gulp.task('watch', ['default'], function() {
	gulp.watch('js/*.js', ['js']);
	gulp.watch('gen/*.js', ['js']);
});

gulp.task('default', ['js']);


Build with uglify as default
chore: Build with uglify as default
