reconcile/scripts/lint.sh

19 lines
282 B
Bash
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!"