From 8d506131ca385228507ebaaba854803c0c5718cb Mon Sep 17 00:00:00 2001 From: Paul Campbell Date: Sun, 28 Apr 2024 08:25:51 +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..63a3a1a 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 --features "fs,network"' + git rebase -i origin/main -x 'cargo test --features "fs,network"' + git rebase -i origin/main -x 'cargo clippy --features "fs,network" -- -D warnings -W clippy::nursery -W clippy::unwrap_used -W clippy::expect_used'