Skip to content

Commit

Permalink
Fix tox -e build
Browse files Browse the repository at this point in the history
Bash was giving me a syntax error
  • Loading branch information
Luthaf committed Sep 23, 2024
1 parent 0b4bb21 commit 2b3d2f2
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -78,10 +78,10 @@ deps =
build
check-manifest
twine
allowlist_externals = bash
allowlist_externals = rm
commands_pre =
bash -c "if [ -e {toxinidir}/dist/*tar.gz ]; then unlink {toxinidir}/dist/*.whl; fi"
bash -c "if [ -e {toxinidir}/dist/*tar.gz ]; then unlink {toxinidir}/dist/*.tar.gz; fi"
rm -f {toxinidir}/dist/*.whl
rm -f {toxinidir}/dist/*.tar.gz
commands =
python -m build
twine check dist/*.tar.gz dist/*.whl
Expand Down

0 comments on commit 2b3d2f2

Please sign in to comment.