make cargo fmt in ci/script.sh optional
This commit is contained in:
parent
131cc1ac44
commit
ea8d02ae0f
1 changed files with 4 additions and 2 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue