jkcfg / jk

Configuration as Code with ECMAScript
https://jkcfg.github.io
Apache License 2.0
404 stars 30 forks source link

Using params with std.Format.Raw #360

Closed jaxxstorm closed 4 years ago

jaxxstorm commented 4 years ago

I'm considering trying to generate a parameterized Makefile with Raw formatting, and not really understanding how that might look. Do you have a very simple exampleS?

squaremo commented 4 years ago

You could use a template library, say handlebars -- there's an example given here: https://github.com/jkcfg/jk/tree/master/examples/jk/handlebars

jaxxstorm commented 4 years ago

thanks, will give this a try!