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

Enable custom path manipulations in copy function. #125

Open
asmagin opened this issue Nov 10, 2018 · 0 comments
Open

Enable custom path manipulations in copy function. #125

asmagin opened this issue Nov 10, 2018 · 0 comments

Comments

@asmagin
Copy link

asmagin commented Nov 10, 2018

I cannot use EJS templates in path or body of files, as I'm building complex templates for Visual Studio projects. I need to be able to run C# project to modify or update it.

Content replacement can be done via regex, but EJS templates are built in copy() and I cannot move avoid using them in current implementation.

There is a copyTpl() function that provide templates implementation via ejs, while copy() must remain generic and extendable, allowing to pass custom functions to process body and path of the file.

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

No branches or pull requests

1 participant