-
Notifications
You must be signed in to change notification settings - Fork 1
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
Allow skip template rendering for specific files #39
Comments
Doing this by only running templates that end in ".tmpl" through the templating, others get rendered as-is. Wondering if it's worth the trouble to rename the "templates" directory to "contents" or something? |
I had an idea that could this be configured with a flag, so by default it renders all files, but with property something like |
Yeah, that sounds good. Another option could be a |
Either of these could fix the logjam that is this branch right now, because I lost motivation when I realised this issue. Doing it like this totally bypasses the API contract thing. |
...except the |
Especially some recipes with Taskfiles can be tedious to create since every variable needs to be escaped in when rendering the recipe, like
{{"{{.MY_TASK_VARIABLE}}"}}
. To mitigate this, recipe could haveskipRenderForFiles
property which defines files which can be moved to project without rendering.Special file extension could be used
The text was updated successfully, but these errors were encountered: