| 1234567891011121314151617181920 |
- pre-commit-install:
- pre-commit install;
- pre-commit install --hook-type commit-msg;
- update-template:
- copier update --trust --defaults
- # https://copier.readthedocs.io/en/stable/updating/#recover-from-a-broken-update
- update-template-forced:
- copier recopy $$project --trust
- cspell-filenames:
- git ls-files | cspell stdin --show-context --locale en-GB,de-CH
- lint:
- cd src; redocly lint openapi.yaml
- preview-docs:
- cd src; redocly bundle openapi.yaml -o ../out/openapi.json
- docker run -p 8080:8080 -e SWAGGER_JSON=/out/openapi.json -v $(PWD)/out:/out swaggerapi/swagger-ui
|