Skip to content

Commit

Permalink
Updated Configuring tasks (markdown)
Browse files Browse the repository at this point in the history
  • Loading branch information
cowboy committed Jan 11, 2013
1 parent baa0812 commit 670a3a8
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions Configuring-tasks.md
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,8 @@ Because most tasks perform file operations, Grunt has powerful abstractions for
All files formats support `src` and `dest` but the "Compact" and "Files Array" formats support a few additional properties:

* `filter` Either a valid [fs.Stats method name](http://nodejs.org/docs/latest/api/fs.html#fs_class_fs_stats) or a function that is passed the matched `src` filepath and returns `true` or `false`.
* `nonull` Retain `src` patterns even if they fail to match files.
* `nonull` Retain `src` patterns even if they fail to match files. Combined with grunt's `--verbose` flag, this option can help debug file path issues.
* `matchBase` Patterns without slashes will match just the basename part. Eg. this makes `*.js` work like `**/*.js`.
* `expand` Process a dynamic src-dest file mapping, see "Building the files object dynamically" for more information.
* Other properties will be passed into [node-glob][] as matching options.

Expand Down Expand Up @@ -296,4 +297,4 @@ grunt.initConfig({
}
}
});
```
```

0 comments on commit 670a3a8

Please sign in to comment.