     .pipe gulp.dest 'dist'
   gulp.src paths.vendor + '/requirejs/require.js'
     .pipe $.uglify()
-    .pipe gulp.dest paths.dist + '/assets/js/'<% } %>
+    .pipe gulp.dest paths.dist + '/assets/js/'
+
+# testing via $.mocha tool
+gulp.task 'test', ->
+  gulp.src paths.test + '/**/*.js'
+    .pipe $.mocha
+      reporter: 'spec'
 
 # The default task (called when you run `gulp`)
 gulp.task 'default', (cb) ->
   runs(
-    ['coffee', 'styles']
+    ['coffee', 'compass']
     'connect:app'
     cb)
 
 # Build
-<% if (includeRequireJS) { %>
 gulp.task 'build', [
   'coffee'
   'images'
-  'styles'
+  'compass'
   'html'
   'copy'
 ], ->

  test: 'test'
  dist: 'dist'
  vendor: 'app/assets/vendor'

coffeelintTasks = lazypipe()
  .pipe $.coffeelint

'use strict'

gulp = require 'gulp'
rjs = require 'requirejs'
runs = require 'run-sequence'
$ = require('gulp-load-plugins')()
minifyCSS = require 'gulp-minify-css'
