Skip to content

Commit

Permalink
run update
Browse files Browse the repository at this point in the history
  • Loading branch information
tunnckoCore committed Apr 10, 2015
1 parent 0d0433d commit 89d5b6e
Show file tree
Hide file tree
Showing 3 changed files with 22 additions and 6 deletions.
19 changes: 17 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "gulp-micromatch",
"version": "0.0.0",
"description": "wip",
"description": "micromatch as gulp plugin. Filtering vinyl files with glob patterns, regexp or matcher function. micromatch stream.",
"scripts": {
"lint": "jshint index.js && jscs index.js --reporter inline",
"test": "node test.js",
Expand All @@ -17,7 +17,22 @@
"type": "git",
"url": "git://github.com/tunnckoCore/gulp-micromatch.git"
},
"keywords": [],
"keywords": [
"files",
"filter",
"glob",
"gulp",
"gulpplugin",
"match",
"micro",
"micromatch",
"minimatch",
"multimatch",
"plugin",
"regex",
"stream",
"vinyl"
],
"license": {
"type": "MIT",
"url": "https://github.com/tunnckoCore/gulp-micromatch/blob/master/license.md"
Expand Down
5 changes: 3 additions & 2 deletions readme.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
## [![npm][npmjs-img]][npmjs-url] [![mit license][license-img]][license-url] [![build status][travis-img]][travis-url] [![coverage status][coveralls-img]][coveralls-url] [![deps status][daviddm-img]][daviddm-url]

> wip
> micromatch as gulp plugin. Filtering vinyl files with glob patterns, regexp or matcher function.
> micromatch stream.
## Install
```
Expand Down Expand Up @@ -70,4 +71,4 @@ Released under the [`MIT`][license-url] license.

***

_Proudly generated by [docks(1)](https://github.com/tunnckoCore), April 7, 2015_
_Proudly generated by [docks(1)](https://github.com/tunnckoCore), April 10, 2015_
4 changes: 2 additions & 2 deletions test.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ function micromatch(patterns, opts, callback) {
gulp.src(['./*.*', './.*'])
.pipe(plugin(patterns, opts))
.pipe(through2.obj(function(file, enc, next) {
fileCount++
fileCount++;
next();
}, function onEnd() {
callback(fileCount);
Expand All @@ -38,7 +38,7 @@ test('gulp-micromatch:', function() {
micromatch('*.js', {dot: true, matchBase: true}, function _callback(matches) {
test(matches, 2, 'should match `2` when string pattern');
done();
})
});
});
test('should work when array of patterns given', function(done) {
micromatch(['*.js', '*.md'], {dot: true, matchBase: true}, function _callback(matches) {
Expand Down

0 comments on commit 89d5b6e

Please sign in to comment.