build(justfile): Add validate-dev-branch recipe
This commit is contained in:
parent
069b313fc3
commit
eca45d0238
1 changed files with 5 additions and 0 deletions
5
justfile
5
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'
|
||||
|
|
Loading…
Reference in a new issue