 
 compareStrings = (a, b) -> if a < b then -1 else if a > b then 1 else 0
 
+
 gulp.task 'coffee', () ->
   gulp.src ['./src/main/client/**/*.*coffee']
     .pipe gulpCoffee()
     .pipe gulp.dest('./target/client/tmp/app/js')
+
 
 gulp.task 'bootstrap', () ->
   bootstrapStream = gulp.src('src/main/client/less/custom-bootstrap.less')

    .pipe(gulpConcat, bower.name + '-templates.js')
    .pipe(gulp.dest, './target/client/tmp/app/js')()
    
gulp.task 'build-all', ['styles', 'bootstrap', 'templates', 'coffee', 'vendors', 'assets'], index

templateFiles = (opt) ->
  gulp.src(['./src/main/client/**/*.html', '!./src/main/client/index.html'], opt)

cssFiles = (opt) ->
  gulp.src('./target/client/tmp/app/css/**/*.css', opt)
    .pipe(gulpOrder([
      'target/client/tmp/app/css/app.css'
    ], {base: '.'}))
