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

Possible to ignore certain variables? #191

Open
bitbythecron opened this issue May 9, 2019 · 0 comments
Open

Possible to ignore certain variables? #191

bitbythecron opened this issue May 9, 2019 · 0 comments

Comments

@bitbythecron
Copy link

bitbythecron commented May 9, 2019

Any recommendations/hacks/workaround for when the post-templated file needs to have ${...}-style tokens in it that should be ignored by lazybones?

For example, a sample application.yml file for a Spring Boot app:

logging:
  config: 'logback.groovy'
${appname}:
  configWaitForAnswerMillis: ${configTime}

Say I want lazybones to replace ${appname} with the name of the app I'm generating, but I want lazybones to ignore ${configTime} so that the resultant YAML file might look like:

logging:
  config: 'logback.groovy'
myapp:
  configWaitForAnswerMillis: ${configTime}

Any suggestions here? Thanks!

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

No branches or pull requests

1 participant