PHP Classes

File: gulpfile.js

Recommend this page to a friend!
  Classes of Chun-Sheng, Li   PHP Collections Library   gulpfile.js   Download  
File: gulpfile.js
Role: Auxiliary data
Content type: text/plain
Description: Auxiliary data
Class: PHP Collections Library
Manage collections of data values stored as arrays
Author: By
Last change:
Date: 6 months ago
Size: 710 bytes
 

Contents

Class file image Download
var gulp = require('gulp'); var run = require('gulp-run'); var phpunit = require('gulp-phpunit'); var notify = require('gulp-notify'); gulp.task('test', function() { gulp.src('') .pipe(run('clear')) .pipe(phpunit('', {notify: false})) .on('error', notify.onError({ title: "Vulcan Collections", message: "Tests failed.", icon: __dirname + '/failed.png' })) .pipe(notify({ title: "Vulcan Collections", message: "Tests passed!", icon: __dirname + '/success.png' })); }); gulp.task('watch', function() { gulp.watch('**/*.php', ['test']); }); gulp.task('default', ['test', 'watch']);