rgst-io / stencil

📒 A modern living-template engine for evolving repositories
https://stencil.rgst.io
Apache License 2.0
5 stars 1 forks source link

feat: Adding Directory Manifests, currently only for templated dir renaming #63

Closed deregtd closed 4 months ago

deregtd commented 4 months ago

Java/Kotlin projects tend to need to name entire folders based on a package name, so to reduce a ton of error-prone boilerplate stencil file management in these sorts of template modules, we are introducing the notion of a directory manifest. For now, it only contains a template that will be rendered and used as the new name for the directory for all templates rendered underneath it.

cloudflare-workers-and-pages[bot] commented 4 months ago

Deploying stencil with  Cloudflare Pages  Cloudflare Pages

Latest commit: 221dc5a
Status: âœ…  Deploy successful!
Preview URL: https://51b2b587.stencil-1wj.pages.dev
Branch Preview URL: https://ddr-dirmanifests.stencil-1wj.pages.dev

View logs

codecov[bot] commented 4 months ago

Codecov Report

Attention: Patch coverage is 72.72727% with 15 lines in your changes are missing coverage. Please review. Files Patch % Lines
internal/modules/module.go 63.15% 6 Missing and 1 partial :warning:
internal/codegen/template.go 70.00% 3 Missing and 3 partials :warning:
internal/codegen/stencil.go 33.33% 1 Missing and 1 partial :warning:

:loudspeaker: Thoughts on this report? Let us know!

jaredallard commented 4 months ago

DDR still refuses to fix his commit signing, so here we are