1
0
Fork 0
mirror of synced 2025-09-24 04:40:05 +00:00

succeed if rustfmt isn't available

This commit is contained in:
schaeff 2020-05-25 13:00:41 +02:00
parent 1b942bae33
commit b9e2003d2e

View file

@ -42,9 +42,9 @@ jobs:
- restore_cache:
keys:
- v4-cargo-cache-{{ arch }}-{{ checksum "Cargo.lock" }}
# - run:
# name: Check format
# command: rustup component add rustfmt; cargo fmt --all -- --check
- run:
name: Check format if rustfmt is available
command: if rustup component add rustfmt; then cargo fmt --all -- --check; else true; fi
- run:
name: Install libsnark prerequisites
command: ./scripts/install_libsnark_prerequisites.sh