reconcile/scripts/lint.sh
2025-12-06 21:30:57 +00:00

19 lines
282 B
Shell
Executable file

#!/bin/bash
set -e
which cargo-machete || cargo install cargo-machete
cargo machete
cargo clippy --all-targets --all-features --fix --allow-dirty --allow-staged
cargo fmt --all
cd reconcile-js
npm ci
npm run format
cd ../examples/website
npm ci
npm run format
echo "Success!"