feat: autogenerate readme from command help

This commit is contained in:
Jose Diaz-Gonzalez
2020-04-04 16:20:35 -04:00
parent c6ec5b74c5
commit 636907f6eb
4 changed files with 989 additions and 165 deletions

View File

@@ -5,5 +5,15 @@ env:
- DOKKU_VERSION=v0.19.0
install: make setup
before_script: sudo sysctl -w vm.max_map_count=262144
script: make test
script:
# Check that README etc. is up to date
- >
make generate;
if [[ $(git diff) ]]; then
echo "Please run `make generate`";
git status --short;
git diff;
exit 1;
fi
- make test
after_failure: make report