reconcile/scripts/lint.sh
Andras Schmelczer 22723cbcae
Some checks failed
Check / build (pull_request) Failing after 1m27s
Remove
2026-05-22 08:07:36 +01:00

27 lines
455 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
cd ../../reconcile-python
cp ../README.md .
uv run maturin develop -q
uv run ruff check python/ tests/
uv run ruff format python/ tests/
uv run pyright python/ tests/
cd -
echo "Success!"