gruntjs / grunt-init

Generate project scaffolding from a template.
http://gruntjs.com/project-scaffolding
MIT License
193 stars 58 forks source link

noProcess globbing patterns #60

Closed wayneashleyberry closed 11 years ago

wayneashleyberry commented 11 years ago

Hi wonderful grunt people :)

I'm not quite sure I understand how the noProcess option gets used in the copyAndProcess method.

I have the following code:

init.copyAndProcess(files, props, {noProcess: '{node_modules,vendor}/**'});

But get the following error

Writing source/vendor/kriswallsmith/assetic/README.md...
Warning: An error occurred while processing a template (Unexpected string). Use --force to continue.

Surely that file shouldn't be processed at all because it should match vendor/**?


Versions:

grunt-cli v0.1.9
grunt v0.4.1
wayneashleyberry commented 11 years ago

Aah, nevermind. Noob moment :)

Should be:

{noProcess: '{node_modules,source/vendor}/**/*'}