makefile 577 B

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