var gulp = require('gulp'),
   uglify = require('gulp-uglify'),
   jshint = require('gulp-jshint'),
   concat = require('gulp-concat');

gulp.task('minify', function () {
   gulp.src('js/app.js')
      .pipe(uglify())
      .pipe(gulp.dest('build'))
});


gulp.task('js', function () {
   return gulp.src('js/*.js')
      .pipe(jshint())
      .pipe(jshint.reporter('default'))
      .pipe(uglify())
      .pipe(concat('app.js'))
      .pipe(gulp.dest('build'));
});

gulp.task('greet', function () {
   console.log('greetings');
});

gulp.task('hello', function () {
   console.log('hello');
});

gulp.task('goodbye', ['greet', 'hello'], function() {
   console.log('goodbye');
});

@@ -464,220 +464,4 @@
 %7D);%0A
-%0Agulp.task('greet', function () %7B%0A   console.log('greetings');%0A%7D);%0A%0Agulp.task('hello', function () %7B%0A   console.log('hello');%0A%7D);%0A%0Agulp.task('goodbye', %5B'greet', 'hello'%5D, function() %7B%0A   console.log('goodbye');%0A%7D);%0A

clean up tasks logging to console