Skip to content

Commit

Permalink
fixup! chore: set safer bash config
Browse files Browse the repository at this point in the history
  • Loading branch information
madwort committed Aug 30, 2023
1 parent 9408af3 commit eccf6d6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions justfile
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ package-build: virtualenv

package-test type: package-build
#!/usr/bin/env bash
set -exuo pipefail
set -euo pipefail
VENV="test-{{ type }}"
distribution_suffix="{{ if type == "wheel" { "whl" } else { "tar.gz" } }}"
Expand All @@ -146,7 +146,7 @@ package-test type: package-build
$VENV/bin/local_run --help

# check we haven't packaged tests with it
unzip -Z -1 dist/*.whl | grep -vq "^tests/"
unzip -Z -1 dist/*.whl | grep -vq "^tests/" || exit 1

# clean up after ourselves
rm -rf $VENV
Expand Down

0 comments on commit eccf6d6

Please sign in to comment.