cakephp-potion
Version:
CakePHP Potion - Painless Gulp for CakePHP
21 lines (17 loc) • 588 B
JavaScript
var gulp = require('gulp');
var _ = require('underscore');
var Potion = require('cakephp-potion');
var inSequence = require('run-sequence');
/*
|----------------------------------------------------------------
| Default Task
|----------------------------------------------------------------
|
| This task will run when the developer executes "gulp" on the
| command line. We'll use this configuration object to know
| which tasks should be fired when this task is executed.
|
*/
gulp.task('default', function() {
inSequence.apply(this, _.pluck(Potion.tasks, 'name'));
});