 gulp.task 'clean', ->
   del.sync ['dist/**']
 
+# build task - builds all sources
+#
+# depends on:
+#   clean
 gulp.task 'build', ['clean'], ->
   gulp.start 'css', 'scripts', 'html', 'resources'
 

#   css
#   scripts
#   lint
#   minify-html
#   minify-partials
gulp.task 'watch', ->

# app task - concatenates all application code into app.js
gulp.task 'app', ->
  gulp.src ['src/javascript/app.js',
            'src/javascript/directives/*',
            'src/javascript/services/*',
            'src/javascript/controllers/*'
           ]
    .pipe plumber()
    .pipe gulpif /[.]coffee$/, coffee({bare: true})
