curist / grunt-bower

grunt task to copy bower installed packages to other folder(s)
MIT License
93 stars 27 forks source link

Added support for simple * wildcard in main array #35

Closed FREEZX closed 10 years ago

FREEZX commented 10 years ago

Copying of projects like font-awesome, which contain a wildcard in the main array was failing on windows with ENOENT code. This makes all wildcards in the form of folder/* expand the contents of * recursively

curist commented 10 years ago

I'm not comfortable with recursing push paths in a for loop. So I reimplement that using grunt.file.expand in 1 pass. Thanks for the idea.