#!/bin/sh cargo fmt || exit 1 cargo check || exit 1 cargo clippy -- -D warnings || exit 1 # Check that there are no errors with no_std cargo check --no-default-features || exit 1 cargo test || exit 1 git add -u || exit 1