Last change
on this file was
484,
checked in by hendrikvanantwerpen, 11 years ago
|
Commit node_modules, to make checkouts and builds more deterministic.
|
File size:
460 bytes
|
Rev | Line | |
---|
[484] | 1 | # Usage Examples |
---|
| 2 | |
---|
| 3 | ```js |
---|
| 4 | copy: { |
---|
| 5 | main: { |
---|
| 6 | files: [ |
---|
| 7 | {src: ['path/*'], dest: 'dest/', filter: 'isFile'}, // includes files in path |
---|
| 8 | {src: ['path/**'], dest: 'dest/'}, // includes files in path and its subdirs |
---|
| 9 | {expand: true, cwd: 'path/', src: ['**'], dest: 'dest/'}, // makes all src relative to cwd |
---|
| 10 | {expand: true, flatten: true, src: ['path/**'], dest: 'dest/', filter: 'isFile'} // flattens results to a single level |
---|
| 11 | ] |
---|
| 12 | } |
---|
| 13 | } |
---|
| 14 | ``` |
---|
Note: See
TracBrowser
for help on using the repository browser.