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

feat: generator templates can reference their location #156

Merged
merged 1 commit into from
Mar 4, 2022

Conversation

cmars
Copy link
Contributor

@cmars cmars commented Mar 4, 2022

Add a .Here field to scope in generator templates, so that generators
can reference files relative to where they are declared.

Drive-by: update versionware example to reference v4 properly

@cmars cmars requested a review from a team as a code owner March 4, 2022 12:46
Add a .Here field to scope in generator templates, so that generators
can reference files relative to where they are declared.

Allow templates to be used to locate templates relative to config. This
enables template library reuse outside of a project.

Drive-by: update versionware example to reference v4 properly
@cmars cmars force-pushed the feat/generator-template-here-field branch from f3de9fe to 2a09bcc Compare March 4, 2022 13:29
@cmars cmars merged commit 300423b into snyk:main Mar 4, 2022
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 this pull request may close these issues.

2 participants