Open izissise opened 1 year ago
This would be a great example of something that can be implemented as a plugin! I'm very keen to have some external contributors over on the please-build
org that own these sorts of things if you're interested. I'll be writing up a codelab on the plugin API soon (tm), but there are quire a few examples of this on that org already.
Some considerations:
"version": "//service:version"
, where //service:version
json()
builtin. This issue has been automatically marked as stale because it has not had any recent activity in the past 90 days. It will be closed if no further activity occurs. If you require additional support, please reply to this message. Thank you for your contributions.
Hello, I would be nice for please to support templating text files. It is especially useful to render config files using information from the build system. the user could choose what templating engine they want to use.
The interface could look like this:
It could support all the major templating engines jinja2 mustache twig ...
To achieve this, a potential implementation approach similar to how 'arcat' is used could be adopted. This entails introducing a pre-build binary that takes an input file, along with the required variables, and renders the output file. If the binary is not already available, it should be downloaded as necessary.