#!/usr/bin/env bash echo "[prepush] Running cargo fmt --check" cargo fmt -- --check echo "[prepush] Running cargo clippy" cargo clippy -- -Dwarnings