eventric
Version:
behavior-first application development
48 lines (33 loc) • 855 B
text/coffeescript
fs = require 'fs'
gulp = require 'gulp'
growler = require 'growler'
class Growl
initialize: ->
= false
if process.env.CI
=
sendNotification: ->
else
= new growler.GrowlApplication 'eventric'
.setNotifications
'Eventric': {}
.register()
showNotification: (text) =>
.sendNotification 'Eventric',
title: 'Gulp'
text: text
specsRun: =>
= false
specsError: (err) =>
= err
specsEnd: =>
if
.message
= true
else
if
'Specs fixed'
else
'Specs passed'
= false
module.exports = new Growl