2014-08-28 21:40:18 +00:00
|
|
|
var gulp = require('gulp');
|
|
|
|
var runSequence = require('run-sequence');
|
|
|
|
|
|
|
|
require('./clean');
|
|
|
|
require('./less');
|
|
|
|
require('./handlebars');
|
|
|
|
require('./copy');
|
|
|
|
|
2015-07-22 02:42:38 +00:00
|
|
|
gulp.task('build', function() {
|
|
|
|
return runSequence('clean', [
|
|
|
|
'webpack',
|
|
|
|
'less',
|
|
|
|
'handlebars',
|
|
|
|
'copyHtml',
|
|
|
|
'copyContent',
|
|
|
|
'copyJs'
|
|
|
|
]);
|
2015-01-26 02:03:21 +00:00
|
|
|
});
|