text: // Getting started with gulp:
  // https://markgoodyear.com/2014/01/getting-started-with-gulp/
  
  // Load plugins
  var gulp = require('gulp'),
      sass = require('gulp-ruby-sass'),
      minifycss = require('gulp-minify-css'),
      uglify = require('gulp-uglify'),
      concat = require('gulp-concat'),
      rename = require('gulp-rename'),
      notify = require('gulp-notify'),
      del = require('del');
  
  // Styles
  gulp.task('styles', function() {
    return sass('src/styles/main.scss', { style: 'expanded' })
      .pipe(gulp.dest('resources/styles'))
      .pipe(rename({ suffix: '.min' }))
      .pipe(minifycss())
      .pipe(gulp.dest('resources/styles'))
      .pipe(notify({ message: 'Styles task complete' }));
  });
  
  // Scripts
  gulp.task('scripts', function() {
    return gulp.src('src/scripts/**/*.js')
      .pipe(concat('main.js'))
      .pipe(gulp.dest('resources/scripts'))
      .pipe(rename({ suffix: '.min' }))
      .pipe(uglify())
      .pipe(gulp.dest('resources/scripts'))
      .pipe(notify({ message: 'Scripts task complete' }));
  });
   
  // Clean
  gulp.task('clean', function(cb) {
      del(['resources/styles', 'resources/scripts', 'resources/images'], cb)
  });
  
  // Default task
  gulp.task('default', ['clean'], function() {
      gulp.start('styles', 'scripts');
  });
  
  // Watch
  gulp.task('watch', function() {
   
    // Watch .scss files
    gulp.watch('src/styles/**/*.scss', ['styles']);
   
    // Watch .js files
    gulp.watch('src/scripts/**/*.js', ['scripts']);
   
  });
  
  
  