From 36ed5bf1927f13ee108cbce15163453a8e060727 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?H=C3=A5vard=20Anda=20Estensen?= Date: Wed, 27 Nov 2024 11:32:53 +0100 Subject: [PATCH 1/2] feat(scripts): add just lint --- justfile | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/justfile b/justfile index 0c06cc95..d7aef850 100644 --- a/justfile +++ b/justfile @@ -2,6 +2,14 @@ default: @just --list --unsorted +lint: + @just clippy bolt-cli + @just clippy bolt-boost + @just clippy bolt-sidecar + +clippy package: + cd {{ package }} && cargo clippy --all-targets --all-features -- -D warnings + # spin up the bolt devnet up: chmod +x ./scripts/start-devnet.sh From a1b530bf8c95e5fd1a3688dcf8f2ac3837916139 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?H=C3=A5vard=20Anda=20Estensen?= Date: Wed, 27 Nov 2024 12:29:26 +0100 Subject: [PATCH 2/2] chore(scripts): add script doc --- justfile | 2 ++ 1 file changed, 2 insertions(+) diff --git a/justfile b/justfile index d7aef850..13e5af7c 100644 --- a/justfile +++ b/justfile @@ -2,11 +2,13 @@ default: @just --list --unsorted +# lint all packages lint: @just clippy bolt-cli @just clippy bolt-boost @just clippy bolt-sidecar +# lint a package by name clippy package: cd {{ package }} && cargo clippy --all-targets --all-features -- -D warnings