'just push' command pushes to git only if test/lint passes

This commit is contained in:
Simon Willison 2023-08-27 20:20:32 -07:00
parent b5260b4eb0
commit cee5b06604

View file

@ -40,3 +40,7 @@
@fix: cog
pipenv run ruff . --fix
pipenv run black .
# Push commit if tests pass
@push: test lint
git push