在线时间:8:00-16:00
迪恩网络APP
随时随地掌握行业动态
扫描二维码
关注迪恩网络微信公众号
开源软件名称(OpenSource Name):kaminaly/gulp-sync开源软件地址(OpenSource Url):https://github.com/kaminaly/gulp-sync开源编程语言(OpenSource Language):CoffeeScript 86.3%开源软件介绍(OpenSource Introduction):gulp-sync
this is not gulp plugin Install$ npm install --save-dev gulp-sync Usagesyncvar gulp = require('gulp');
var gulpsync = require('gulp-sync')(gulp);
gulp.task('default', gulpsync.sync(['a', 'b', 'c'])); var gulp = require('gulp');
var gulpsync = require('gulp-sync')(gulp);
gulp.task('default', gulpsync.sync([
// sync
'a',
[
// async
'b-1',
'b-2'
],
[
// async
'c-1',
[
// sync
'c-2-1',
'c-2-2'
]
]
])); asyncvar gulp = require('gulp');
var gulpsync = require('gulp-sync')(gulp);
gulp.task('default', gulpsync.async(['a', 'b', 'c']));
//same gulp.task('default', ['a', 'b', 'c']); var gulp = require('gulp');
var gulpsync = require('gulp-sync')(gulp);
gulp.task('default', gulpsync.async([
// async
'a',
[
// sync
'b-1',
'b-2'
],
[
// sync
'c-1',
[
// async
'c-2-1',
'c-2-2'
]
]
])); mix and multiple
var gulp = require('gulp');
var gulpsync = require('gulp-sync')(gulp);
gulp.task('debug', gulpsync.async(['a', ['b', 'c']]));
gulp.task('release', gulpsync.sync([['c', 'd'], 'e']));
gulp.task('test', gulpsync.sync(['debug', 'f', 'g']));
gulp.task('default', ['debug']); APIsync(tasks, name)tasksType: task name list. required. nameType: prefix of generated task name async(tasks, name)tasksType: task name list. required. nameType: prefix of generated task name License |
2023-10-27
2022-08-15
2022-08-17
2022-09-23
2022-08-13
请发表评论