Dhall promises to replace all kinds of configuration formats by one language.
However, in practice I need predefined formats to be checked into my source code repository.
For example, the CircleCI service expects a yaml file at .circleci/config.yml
. All other CI systems I know work similarly.
Are there any best practices the dhall community recommends for these use-cases?
Questions:
- When to generate this file?
pre-commit
hook? - How to set up CI so that the files don’t go out of sync? With a good workflow?
- How to make it so that developers don’t have to think about this?
- How to make developers not hate the fact that they have to check in generated code?