     .pipe gulp.dest 'dist/static/js'
 
 
-# Create your CSS from Sass, Autoprexif it to target 99%
-#  of web browsers, minifies it.
+# Create CSS - compiles the sass sources into styles.css
 gulp.task 'css', ->
   gulp.src 'src/scss/styles.scss'
     .pipe plumber()

    .pipe cssmin keepSpecialComments: 0
    .pipe gulp.dest 'www/css'

# Create your HTML
gulp.task 'html', ['minify-html', 'minify-partials']

gulp.task 'minify-html', ->
  opts = {empty:true,spare:true}
  gulp.src 'src/*.html'

    .pipe concat('vendor.js')
    .pipe gulp.dest 'dist/static/js'

# app task - concatenates all application code into app.js
gulp.task 'app', ->
  gulp.src ['src/javascript/app.js', 'src/javascript/directives/*.js', 'src/javascript/services/*.js', 'src/javascript/controllers/*.js']
    .pipe plumber()
