'use strict';

var gulp = require('gulp');
var $ = require('gulp-load-plugins')();

var SRC = 'src/';
var DIST = 'dist/';

// Lint JavaScript
gulp.task(
    'jshint',
    function () {
        return gulp
            .src(SRC + '**/*.js')
            .pipe($.jshint())
            .pipe($.jshint.reporter('jshint-stylish'))
        ;
    }
);

gulp.task(
    'build',
    function () {
        return gulp
            .src(SRC + '**/*.js')
            .pipe($.uglify())
            .pipe($.rename({ extname: '.min.js' }))
            .pipe(gulp.dest(DIST));
    }
);

@@ -552,16 +552,60 @@
 IST));%0A    %7D%0A);%0A
+%0Agulp.task(%0A    'default',%0A    %5B'build'%5D%0A);%0A

add build as default gulp task