codedungeon
9/6/2014 - 6:00 PM

Gulp Task w/ Formatting

Gulp Task w/ Formatting

gulp.task('phpspec', function() {
	var options = {debug: false, clear: true, formatter: 'pretty', notify: true};
	gulp.src('phpspec.yml')
		.pipe(plugins.phpspec('',options))
		.on('error', plugins.notify.onError(testNotification('fail', 'phpspec')))
		.pipe(plugins.notify(testNotification('pass', 'phpspec')));

});