mirror of https://github.com/akveo/blur-admin
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
24 lines
522 B
24 lines
522 B
'use strict';
|
|
|
|
var gulp = require('gulp');
|
|
var wrench = require('wrench');
|
|
|
|
/**
|
|
* This will load all js or coffee files in the gulp directory
|
|
* in order to load all gulp tasks
|
|
*/
|
|
wrench.readdirSyncRecursive('./gulp').filter(function(file) {
|
|
return (/\.(js|coffee)$/i).test(file);
|
|
}).map(function(file) {
|
|
require('./gulp/' + file);
|
|
});
|
|
|
|
|
|
/**
|
|
* Default task clean temporaries directories and launch the
|
|
* main optimization build task
|
|
*/
|
|
gulp.task('default', ['clean'], function () {
|
|
gulp.start('build');
|
|
});
|