0
0
Fork 0
mirror of https://github.com/renovatebot/renovate.git synced 2025-01-27 05:09:37 +00:00
renovatebot_renovate/bin/update-docs.sh
Rhys Arkins 00d6249711 Refactor config
Now generates CLI, env and docs
Makes config more testable
2017-01-20 14:03:18 +01:00

6 lines
342 B
Bash
Executable file

#!/usr/bin/env bash
perl -0777 -i -pe 's/\n Usage:.*package-test\n/`node renovate --help`/se' readme.md
perl -0777 -i -pe 's/\n Usage:.*package-test\n/`node renovate --help`/se' docs/configuration.md
perl -0777 -i -pe 's/## Configuration Options.*//se' docs/configuration.md
node bin/update-configuration-table.js >> docs/configuration.md