mirror of
https://github.com/dhall-lang/dhall-kubernetes.git
synced 2024-09-17 10:27:08 +03:00
4a7f02cd0d
* We move all the example code from the readme to the `examples` folder. * We provide a `scripts/build-readme.sh` script that inlines referenced examples in `README.md.in` and outputs `README.md`. The script also verifies that the output readme is the same as in version control. * We provide a `scripts/build-examples.py` script that builds the Yaml output for all examples. The script also verifies that the generated Yaml files are the same as in version control.
10 lines
160 B
Bash
Executable File
10 lines
160 B
Bash
Executable File
#!/usr/bin/env bash
|
|
|
|
if [[ -z $1 ]]; then
|
|
output=README.md
|
|
else
|
|
output="$1"
|
|
fi
|
|
|
|
LC_ALL=en_US.UTF-8 dhall-to-text <<< './docs/README.md.dhall' > $output
|