提交 d755477f 编写于 作者: C Catouse

* improve output text style for gulp tasks.

上级 1b835f60
...@@ -418,7 +418,10 @@ gulp.task('build', function(callback) { ...@@ -418,7 +418,10 @@ gulp.task('build', function(callback) {
['dist', 'doc', 'theme'].forEach(function(name) { ['dist', 'doc', 'theme'].forEach(function(name) {
gulp.task(name, function(callback) { gulp.task(name, function(callback) {
console.log(' BEGIN >> ' + (' Build ' + name.bold + ' ').inverse); console.log(' BEGIN >> ' + (' Build ' + name.bold + ' ').inverse);
buildBundle(name, callback); buildBundle(name, function() {
console.log(' END >> ' + (' Build ' + name.bold + ' completed. ').green.inverse);
callback();
});
}); });
gulp.task('watch:' + name, function() { gulp.task('watch:' + name, function() {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册