source: Dev/trunk/node_modules/grunt-contrib-clean/docs/clean-examples.md @ 484

Last change on this file since 484 was 484, checked in by hendrikvanantwerpen, 11 years ago

Commit node_modules, to make checkouts and builds more deterministic.

File size: 463 bytes
Line 
1# Usage Examples
2
3There are three formats you can use to run this task.
4
5## Short
6
7```js
8clean: ["path/to/dir/one", "path/to/dir/two"]
9```
10
11## Medium (specific targets with global options)
12
13```js
14clean: {
15  build: ["path/to/dir/one", "path/to/dir/two"],
16  release: ["path/to/another/dir/one", "path/to/another/dir/two"]
17},
18```
19
20## Long (specific targets with per target options)
21
22```js
23clean: {
24  build: {
25    src: ["path/to/dir/one", "path/to/dir/two"]
26  }
27}
28```
Note: See TracBrowser for help on using the repository browser.