diff options
Diffstat (limited to 'check')
-rwxr-xr-x | check | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -31,11 +31,12 @@ $hideok cargo fmt -- --check $hideok find . -type f -name '*.py' ! -name test.py -exec black --check '{}' + $hideok subplot docgen jt.subplot --output jt.html -$hideok subplot docgen jt.subplot --output jt.pdf $hideok subplot codegen jt.subplot --output test.py rm -f test.log target="$(cargo metadata --format-version=1 | jq -r .target_directory)" -$hideok python3 test.py --log test.log --env "CARGO_TARGET_DIR=$target" "$@" +if ! $hideok python3 test.py --log test.log --env "CARGO_TARGET_DIR=$target" "$@"; then + cat test.log +fi echo "Everything seems to be in order." |