make cargo fmt in ci/script.sh optional
This commit is contained in:
parent
392a0fb886
commit
f966201d4c
@ -15,8 +15,10 @@ main() {
|
||||
# generate tests
|
||||
cargo run --package test-generator --target x86_64-unknown-linux-musl
|
||||
|
||||
# nicer syntax error messages (if any)
|
||||
cargo fmt
|
||||
if cargo fmt --version >/dev/null 2>&1; then
|
||||
# nicer syntax error messages (if any)
|
||||
cargo fmt
|
||||
fi
|
||||
|
||||
# run tests
|
||||
cross test --target $TARGET --release
|
||||
|
Loading…
x
Reference in New Issue
Block a user