       .filter((line) -> !line.indexOf("ERROR:"))
       .forEach (error) ->
         gutil.log(gutil.colors.red(error))
+    process.exit(1)
 
   stream = gulp.src('./')
     .pipe(exec('node_modules/.bin/istanbul check-coverage --statements <%= options.coverage.statements %> --branches <%= options.coverage.branches %> --functions <%= options.coverage.functions %> --lines <%= options.coverage.lines %>', options))


gulp.task 'check-coverage', ->
  options =
    silent: false
    coverage: require('./.coverage.json')

  onCoverageError = (errors) ->

git = require('gulp-git')
size = require('gulp-size')
sloc = require('gulp-sloc')
es = require('event-stream')
webpack = require('webpack')
webpackConfig = require('./webpack.config')
