Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make Destination a Glob. #1

Open
mrbinky3000 opened this issue Aug 21, 2014 · 3 comments
Open

Make Destination a Glob. #1

mrbinky3000 opened this issue Aug 21, 2014 · 3 comments

Comments

@mrbinky3000
Copy link

Can you make the destination a glob. This way we can insert the src file into multiple destinations at once. Great for inserting scripts or css into multiple static files at one time.

@popkinj
Copy link
Owner

popkinj commented Aug 21, 2014

Cool idea.
You mean like have an array of destination files?

@mrbinky3000
Copy link
Author

Node.js comes with built in file globbing. See...

...for reference.

Grunt, built on node, also supports these globbing constructs. A lot of Grunt tasks have the ability to specify a glob of files (like an array, I guess). It would be nice if this task followed the precedent set by other tasks and allowed you to target a glob of files. So yes, it would be great to apply the insert to a glob of files at one time. See the Grunt documentation for ideas on how to implement this. http://gruntjs.com/api/grunt.file#globbing-patterns

@popkinj
Copy link
Owner

popkinj commented Sep 3, 2014

Cool. Thanks Matthew.

Jamie Popkin
Little Earth
250 390 6816
http://littleearth.ca

On Wed, Sep 3, 2014 at 10:53 AM, Matthew Toledo [email protected]
wrote:

Node.js comes with build in file globbing. See...

...for reference.

Grunt, built on node, also supports these globbing constructs. A lot of
Grunt tasks have the ability to specify a glob of files (like an array, I
guess). It would be nice if this task followed the precedent set by other
tasks and allowed you to target a glob of files. So yes, it would be great
to apply the insert to a glob of files at one time. See the Grunt
documentation for ideas on how to implement this.
http://gruntjs.com/api/grunt.file#globbing-patterns


Reply to this email directly or view it on GitHub
#1 (comment).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants