twolfson / grunt-spritesmith

Grunt task for converting a set of images into a spritesheet and corresponding CSS variables
MIT License
1.14k stars 92 forks source link

add support for globbing #82

Closed gad2103 closed 10 years ago

gad2103 commented 10 years ago

hello there. thanks for this awesome library. i think it would be great if there was support for globbing in the "src" attribute. i'll try to carve out some time to send a PR.

twolfson commented 10 years ago

Grunt supports globbing inherently, this is one of the places where its purpose comes from

From the grunt-spritesmith README:

src: 'path/to/your/sprites/*.png',

http://gruntjs.com/configuring-tasks#globbing-patterns

gad2103 commented 10 years ago

sorry i was getting an error but it was because i didn't put a name for the sprite sheet and css file. my bad.

On Thu, May 29, 2014 at 4:50 PM, Todd Wolfson notifications@github.com wrote:

Closed #82 https://github.com/Ensighten/grunt-spritesmith/issues/82.

— Reply to this email directly or view it on GitHub https://github.com/Ensighten/grunt-spritesmith/issues/82#event-126170455 .

Gabriel Duncan

Developer of Webs

Phone: (347) 829 7122

DISCLAIMER: This is a notification that this email is automatically return receipt enabled. Upon opening this email, notification is sent to the sender confirming that it has been viewed.