massdriver-cloud / massdriver-cli

Deprecated. See https://github.com/massdriver-cloud/mass
https://massdriver.cloud
Apache License 2.0
3 stars 2 forks source link

liquid support #168

Closed coryodaniel closed 1 year ago

coryodaniel commented 1 year ago

Still need to skip subdirs or add {% raw %} blocks to templates.

Also closes: https://github.com/massdriver-cloud/massdriver-cli/issues/152

akasprzok commented 1 year ago

Still need to skip subdirs or add {% raw %} blocks to templates.

On the massdriver side I currently only render "massdriver.yaml" and "README.md".

Not sure what the best option here is overall.

Raw tags seems "cleaner" from an implementation perspective but does complicate the templates in general.

LMK what you decide and I can help change the templates over.

coryodaniel commented 1 year ago

Ended up implementing as templating anything in the root dir of the template, and copying any subdirs. This allows us to use rendering in operator files, etc. note here