renovate/bin/update-docs.sh

7 lines
354 B
Bash
Executable File

#!/usr/bin/env bash
perl -0777 -i -pe 's/\n Usage:.*package-test\n/`node dist\/renovate --help`/se' readme.md
perl -0777 -i -pe 's/\n Usage:.*package-test\n/`node dist\/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