     .pipe minifyHTML(opts)
     .pipe gulp.dest 'dist'
 
+# minify-partials task - minifies partials html sources
 gulp.task 'minify-partials', ->
   opts = {empty:true,spare:true}
   gulp.src 'src/partials/*.html'

    .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'

fs          = require 'fs'
underscore  = require 'underscore'

# Create the prerequisites for the actual app
# 
# depends on:
#   vendor
#   app
gulp.task 'scripts', ['vendor', 'app']

# vendor task - retrieves the dependencies from the bower
# definition and concatenates then onto vendor.js
gulp.task 'vendor', ->
  bowerFile = require './bower.json'
  bowerDir = './client/lib'
