From eca45d02384b92c5da7b3293b606cee2b431cae3 Mon Sep 17 00:00:00 2001 From: Paul Campbell Date: Sat, 13 Apr 2024 12:02:53 +0100 Subject: [PATCH] build(justfile): Add validate-dev-branch recipe --- justfile | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/justfile b/justfile index ad640d9..a042576 100644 --- a/justfile +++ b/justfile @@ -1,3 +1,8 @@ install-hooks: @echo "Installing git hooks" git config core.hooksPath .git-hooks + +validate-dev-branch: + git rebase -i origin/main -x 'cargo build' + git rebase -i origin/main -x 'cargo test' + git rebase -i origin/main -x 'cargo clippy -- -D warnings -W clippy::nursery -W clippy::unwrap_used -W clippy::expect_used'