Comparing version 0.1.1 to 0.1.2
{ | ||
"name": "gulp-sync", | ||
"version": "0.1.1", | ||
"version": "0.1.2", | ||
"description": "sync for dependency tasks of gulp.task method", | ||
@@ -5,0 +5,0 @@ "main": "./lib/index.js", |
@@ -81,3 +81,17 @@ # [gulp](http://gulpjs.com)-sync [![Build Status](https://travis-ci.org/kaminaly/gulp-sync.svg?branch=master)](https://travis-ci.org/kaminaly/gulp-sync) [![NPM version](https://badge.fury.io/js/gulp-sync.svg)](http://badge.fury.io/js/gulp-sync) | ||
### mix and multiple | ||
if you need run multiple, method will required 2nd parameter. that must be unique. | ||
```js | ||
var gulp = require('gulp'); | ||
var gulpsync = require('gulp-sync')(gulp); | ||
gulp.task('debug', gulpsync.async(['a', ['b', 'c']], 'async debug')); | ||
gulp.task('release', gulpsync.sync([['c', 'd'], 'e'], 'sync release')); | ||
gulp.task('test', gulpsync.sync(['debug', 'f', 'g'], 'sync test')); | ||
gulp.task('default', ['debug']); | ||
``` | ||
## API | ||
@@ -97,3 +111,3 @@ | ||
Type: `String` | ||
Type: `String` | ||
Default: `sync group` | ||
@@ -116,3 +130,3 @@ | ||
Type: `String` | ||
Type: `String` | ||
Default: `sync group` | ||
@@ -119,0 +133,0 @@ |
11727
137